Gets or sets a value that indicates the type of angle units.
HRESULT ISVGAngle::get_unitType(short *p);HRESULT ISVGAngle::put_unitType(short v);
- Pointer to a variable of type short that receives one of the values listed in Possible Values.
- short that specifies one of the values listed in Possible Values.
SVG_ANGLETYPE_UNKNOWN The unit type is not one of the predefined unit types.Note Do not try to define a new value of this type or try to switch an existing value to this type. SVG_ANGLETYPE_UNSPECIFIED No unit type is provided (that is, a value without units is specified). For angles, a value without units is treated the same as if degrees are specified. SVG_ANGLETYPE_DEG Default. The unit type is explicitly set to degrees. SVG_ANGLETYPE_RAD The unit type is radians (360° = 2p radians). SVG_ANGLETYPE_GRAD The unit type is gradians (360° = 400 grads).
Returns S_OK if successful, or an error value otherwise.