This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IL > ILatLonFormat2 Interface > ILatLonFormat2.ShowDirections Property (ArcObjects .NET 10.5 SDK) |
Indicates if a directional letter (N-S-E-W) is appended to the formatted number.
[Visual Basic .NET] Public Property ShowDirections As Boolean
[C#] public bool ShowDirections {get; set;}
[C++]
HRESULT get_ShowDirections(
VARIANT_BOOL* Show
);
[C++]
HRESULT put_ShowDirections(
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
The ShowDirections property sets or returns an indicator that tells whether to append a directional letter designation (N, S, E, or W) when the ValueToString method in the associated INumberFormat interface formats numbers.
The settings for ShowDirections are:
Setting | Description |
False |
(Default) A directional letter designation is not appended to the format, for example, 270�. |
True |
A directional letter designation is appended to the format, for example, 270�E. |
As an alternative, the ShowPlusSign property from INumericFormat can be used to show similar information since the LatLonFormat coclass also supports this interface.