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


PercentageFormat CoClass (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

PercentageFormat CoClass

An object for formatting numbers in a percentage format.

Product Availability

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

Description

PercentageFormat is the IPercentageFormat interface coclass whose members determine how the ValueToString method in the associated INumberFormat interface formats numbers in a percentage format.

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

The PercentageFormat coclass allows the conversion between values and strings that represent percentages. For example, 56 is formatted to �56%�, with an optional conversion from a fraction to a percentage, for example, 0.5 to �50%�.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IClone Provides access to members that control cloning of objects.
INumberFormat Provides access to members that format numbers.
INumberFormatOperations Provides access to common operations on formatted numbers.
INumericFormat Provides access to members that format numbers.
IPercentageFormat Provides access to members that format percentages.
IPersist (esriSystem) Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
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