ArcObjects Library Reference  (System)    

ILatLonFormat.ShowDirections Property

Indicates if a directional letter (N-S-E-W) is appended to the formatted number.

[Visual Basic 6.0]
Property ShowDirections As Boolean
[Visual Basic .NET]
Public Property ShowDirections As Boolean
[C#]
public bool ShowDirections {get; set;}
[Java]
public boolean isShowDirections()
throws
    IOException,
    AutomationException
[Java]
public void setShowDirections(
boolean ShowDirections
)
throws
    IOException,
    AutomationException
[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

Product Availability

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

Description

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.

Remarks

As an alternative, the ShowPlusSign property from INumericFormat can be used to show similar information since the LatLonFormat coclass also supports this interface.

See Also

ILatLonFormat Interface | IFractionFormat Interface | AngleFormat Class | IAngleFormat Interface | IPercentageFormat Interface | ICustomNumberFormat Interface | CurrencyFormat Class | LatLonFormat Class | FractionFormat Class | IRateFormat Interface | RateFormat Class | ILatLonFormat2 Interface | NumericFormat Class | CustomNumberFormat Class | INumericFormat Interface | PercentageFormat Class | IScientificNumberFormat Interface | ILatLonFormat Interface | INumberFormat Interface | ScientificFormat Class | IDMSGridLabel.LabelType Property | esriDMSGridLabelType Constants | IDMSGridLabel Interface | ILatLonFormat2 Interface | ILatLonFormat Interface

Example

LatLonFormat Example

 


Feedback Send feedback on this page