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


ICustomNumberFormat Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

ICustomNumberFormat Interface

Provides access to members that format numbers in a customizable way.

Product Availability

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

Description

Use the ICustomNumberFormat interface to format numbers in a customized way using the FormatString member property. The associated INumberFormat�s ValueToString method is used to return a string formatted to fit whatever the FormatString property is set to. The StringToValue method reverses this formatting. The formatting is done based on the following sets of characters in the FormatString. 

When To Use

Use the ICustomNumberFormat interface to format numbers in a customized format. Define your own format using the FormatString member property.

Members

Description
Read/write property FormatString A user-defined format expression.

CoClasses that implement ICustomNumberFormat

CoClasses and Classes Description
CustomNumberFormat An object for formatting numbers in a user-defined 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