This document is archived and information here might be outdated. Recommended version. |
Indicates if the formatted number is an angle in degrees.
[Visual Basic .NET]
Public Property DisplayDegrees As Boolean
[C#]
public bool DisplayDegrees {get; set;}
[C++]
HRESULT get_DisplayDegrees(
VARIANT_BOOL deg
);
[C++]
HRESULT put_DisplayDegrees(
Boolean* deg
);
[C++] Parameters deg [in]
deg is a parameter of type bool deg [out, retval]
deg is a parameter of type bool*
The DisplayDegrees property sets or returns an option that tells the ValueToString method in the associated INumberFormat interface whether or not the resulting formatted expression is in degrees or radians.
DisplayDegrees has to do with the ValueToString result. If you want the resulting formatted number to be a degree value, set DisplayDegrees True. If DisplayDegrees is False, the formatted number is a radian value.
The settings for DisplayDegrees are:
Setting | Description |
False | (Default) The resulting format is a radian value. A degree symbol is not appended. |
True | The resulting format is a degree value. A degree symbol (�) is appended to the format. |
IAngleFormat Interface | 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