ArcObjects Library Reference  (System)    

ILatLonFormat.IsLatitude Property

Indicates if a formatted number is a latitude or not.

[Visual Basic 6.0]
Property IsLatitude As Boolean
[Visual Basic .NET]
Public WriteOnly Property IsLatitude
[C#]
public void IsLatitude {set;}
[Java]
public boolean IsLatitude()
throws
    IOException,
    AutomationException
[C++]
HRESULT put_IsLatitude(
  VARIANT_BOOL 
);
[C++]

Parameters

[in]

   is a parameter of type VARIANT_BOOL

Product Availability

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

Description

The IsLatitude property sets an indicator that tells whether the curvature of the coordinate system causes latitude labels to be placed on top or below the dataframe border, or for longitude labels that appear to the right or left of the dataframe border. It also determines the directional label appended to the format when the ValueToString method in the associated INumberFormat interface formats numbers.

The settings for ShowDirections are:

Setting Description

False

(Default) Latitude labels are placed on top of the dataframe border. Longitude labels are placed to the left of the dataframe border.

If ShowDirections is True, a directional letter designation of either E or W is appended to the format, for example, 23°E.

True

Latitude labels are placed below the dataframe border. Longitude labels are placed to the right of the dataframe border.

If ShowDirections is True, a directional letter designation of either N or S is appended to the format, for example, 17°N.

 

Remarks

When used with the IDMSGridLabel interface, it sets an indicator to specify that latitude labels will be placed on top of the data frame border, and longitude labels will be placed to the left of the data frame border. If True, the directional letter will be either N or S; with IDMSGridLabel, latitude labels are placed below the data frame border and longitude labels are placed to the right.

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