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


CustomNumberFormat Class (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Classes > C > CustomNumberFormat Class
ArcGIS Developer Help

CustomNumberFormatClass Class

An object for formatting numbers in a user-defined format.

Product Availability

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

Description

CustomNumberFormat is an ICustomNumberFormat interface coclass whose members determine how the ValueToString method in the associated INumberFormat interface formats numbers. Define your own customized format using the FormatString property.

The custom-number-format object and its default interface allow numeric values to be formatted as strings. It works by pattern matching and allows conversions, such as changing ValueToString(12345678.9) to �12,345,678.90 dollars�.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IClone Provides access to members that control cloning of objects.
ICustomNumberFormat Provides access to members that format numbers in a customizable way.
INumberFormat Provides access to members that format numbers.
INumberFormatOperations Provides access to common operations on formatted numbers.
IPersist
IPersistStream

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