ArcObjects Library Reference (System)  

IAngleFormat.AngleInDegrees Property

Indicates if the ValueToString argument is in degrees.

[Visual Basic .NET]
Public Property AngleInDegrees As Boolean
[C#]
public bool AngleInDegrees {get; set;}
[C++]
HRESULT get_AngleInDegrees(
  VARIANT_BOOL* deg
);
[C++]
HRESULT put_AngleInDegrees(
  VARIANT_BOOL deg
);
[C++]

Parameters

deg [out, retval]   deg is a parameter of type VARIANT_BOOL deg [in]   deg is a parameter of type VARIANT_BOOL

Product Availability

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

Description

The AngleInDegrees property sets or returns an option that tells the ValueToString method in the associated INumberFormat interface whether or not the ingoing parameter value is in degrees or radians.

AngleInDegrees has to do with the ValueToString argument value. If the value is in degrees, set AngleInDegrees True.

The settings for AngleInDegrees are:

Setting Description
False (Default) The ValueToString argument is assumed to be a radian value.
True The ValueToString argument is assumed to be a degree value.

See Also

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