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

IAngleFormat.AngleInDegrees Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IA > IAngleFormat Interface > IAngleFormat.AngleInDegrees Property
ArcGIS Developer Help

IAngleFormat.AngleInDegrees Property

Indicates if the ValueToString argument is in degrees.

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

deg is a parameter of type bool deg [out, retval]
deg is a parameter of type bool*

Product Availability

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


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