ArcObjects Library Reference  (System)    

IPercentageFormat Interface

Provides access to members that format percentages.

Product Availability

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

Description

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

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

When To Use

Use the IPercentageFormat interface to format numbers that represent percentages.

Members

Description
Read/write property AdjustPercentage Indicates if ValueToString agument is treated as a fraction or a percentage.

CoClasses that implement IPercentageFormat

CoClasses and Classes Description
PercentageFormat An object for formatting numbers in a percentage format.

See Also

IFractionFormat Interface | AngleFormat Class | IAngleFormat Interface | IPercentageFormat Interface | ICustomNumberFormat Interface | CurrencyFormat Class | LatLonFormat Class | FractionFormat Class | IRateFormat Interface | RateFormat Class | ILatLonFormat2 Interface | NumericFormat Class | CustomNumberFormat Class | INumericFormat Interface | PercentageFormat Class | IScientificNumberFormat Interface | ILatLonFormat Interface | INumberFormat Interface | ScientificFormat Class

Example

PercentageFormat Example