value property
Gets or sets the value of the given attribute.
Syntax
HRESULT value = object.put_value( v);HRESULT value = object.get_value(* p);
Property values
Type: float
The value of the given attribute.
Exceptions
Exception | Condition |
---|---|
NoModificationAllowedError | An attempt is made to modify an object that cannot be changed. For versions earlier than Internet Explorer 10, NO_MODIFICATION_ALLOWED_ERR is returned. |
Standards information
- Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.11
Remarks
For angles, the ISVGNumber::value property is in degrees. For lengths, the ISVGNumber::value property is in user units.
If you set the ISVGNumber::value property, the ISVGLength::valueInSpecifiedUnits and ISVGLength::valueAsString properties are updated automatically to reflect this setting.