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


IAngleFormat.AngleInDegrees Property (ArcObjects .NET 10.5 SDK)
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 | 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

.NET Snippets

Decimal Degree Angle Radian Example