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


ILatLonFormat Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IL > ILatLonFormat Interface
ArcGIS Developer Help

ILatLonFormat Interface

Provides access to members that format Latitudes and Longitudes.

Product Availability

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

Description

The members in the ILatLonFormat interface define how the ValueToString method in the associated INumberFormat interface formats numbers.

The LatLonFormat coclass also inherits the INumericFormat interface, so both these interface's properties determine how numbers are formatted.

When To Use

Use the ILatLonFormat interface to format numbers that represent a latitude or longitude.

Members

Name Description
Method GetDMS Obtains the degrees, minutes, and seconds for a lat/lon number.
Write-only property IsLatitude Indicates if a formatted number is a latitude or not.
Read/write property ShowDirections Indicates if a directional letter (N-S-E-W) is appended to the formatted number.
Read/write property ShowZeroMinutes Indicates if zero minutes are included in formatted output.
Read/write property ShowZeroSeconds Indicates if zero seconds are included in formatted output.

Classes that implement ILatLonFormat

Classes Description
LatLonFormat An object for formatting numbers in a lat/lon format.

See Also

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 | esriDMSGridLabelType Constants | IDMSGridLabel Interface | IDMSGridLabel.LabelType Property | ILatLonFormat2 Interface | ILatLonFormat Interface