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 |
|---|---|
|
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 ISVGLength::value property is in degrees. For lengths, the ISVGLength::value property is in user units.
If you set the ISVGLength::value property, the ISVGLength::valueInSpecifiedUnits and ISVGLength::valueAsString properties are updated automatically to reflect this setting.
Show:

