This document is archived and information here might be outdated.  Recommended version.


ILatLonFormat.ShowZeroSeconds Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

ILatLonFormat.ShowZeroSeconds Property

Indicates if zero seconds are included in formatted output.

[Visual Basic .NET]
Public Property ShowZeroSeconds As Boolean
[C#]
public bool ShowZeroSeconds {get; set;}
[C++]
HRESULT get_ShowZeroSeconds(
  VARIANT_BOOL* Show
);
[C++]
HRESULT put_ShowZeroSeconds(
  VARIANT_BOOL Show
);
[C++]

Parameters Show [out, retval] Show is a parameter of type VARIANT_BOOL Show [in] Show is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The ShowZeroSeconds property sets or returns an indicator that tells whether or not a zero value in the seconds location is expressed when the ValueToString method in the associated INumberFormat interface formats numbers. Non-zero values are always expressed in the format.

The settings for ShowZeroSeconds are:

Setting Description

False

(Default) Zero values in the seconds location are not shown, for example 17�N .

True

Zero values in the seconds location are shown, for example 17�0'0"N .

Remarks

If ShowZeroSeconds is True, zero values in the minutes location are also shown regardless of the ShowZeroMinutes setting.

See Also

ILatLonFormat Interface | CurrencyFormat Class | IScientificNumberFormat Interface | FractionFormat Class | IPercentageFormat Interface | INumericFormat Interface | IFractionFormat Interface | NumericFormat Class | IAngleFormat Interface | LatLonFormat Class | ICustomNumberFormat Interface | PercentageFormat Class | ILatLonFormat2 Interface | ILatLonFormat Interface | RateFormat Class | IRateFormat Interface | CustomNumberFormat Class | INumberFormat Interface | ScientificFormat Class | AngleFormat Class