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 | IScientificNumberFormat Interface | PercentageFormat Class | INumberFormat Interface | INumericFormat Interface | FractionFormat Class | IPercentageFormat Interface | ILatLonFormat Interface | ILatLonFormat2 Interface | LatLonFormat Class | ICustomNumberFormat Interface | RateFormat Class | NumericFormat Class | ScientificFormat Class | IRateFormat Interface | AngleFormat Class | IFractionFormat Interface | CurrencyFormat Class | CustomNumberFormat Class | IAngleFormat Interface

.NET Snippets

Decimal Degree Angle Radian Example |