ArcObjects Library Reference  (System)    

IAngleFormat.AngleInDegrees Property

Indicates if the ValueToString argument is in degrees.

[Visual Basic 6.0]
Property AngleInDegrees As Boolean
[Visual Basic .NET]
Public Property AngleInDegrees As Boolean
[C#]
public bool AngleInDegrees {get; set;}
[Java]
public boolean isAngleInDegrees()
throws
    IOException,
    AutomationException
[Java]
public void setAngleInDegrees(
boolean AngleInDegrees
)
throws
    IOException,
    AutomationException
[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 | IFractionFormat Interface | AngleFormat Class | IAngleFormat Interface | IPercentageFormat Interface | ICustomNumberFormat Interface | CurrencyFormat Class | LatLonFormat Class | FractionFormat Class | IRateFormat Interface | RateFormat Class | ILatLonFormat2 Interface | NumericFormat Class | CustomNumberFormat Class | INumericFormat Interface | PercentageFormat Class | IScientificNumberFormat Interface | ILatLonFormat Interface | INumberFormat Interface | ScientificFormat Class

Example

AngleFormat Example