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


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

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

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

Classes that implement ICustomNumberFormat

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