valueAsString property
Gets or sets the string form of the value property, in the units that svgUnitTypes specifies.
![]() ![]() |
Syntax
HRESULT value = object.put_valueAsString( v);HRESULT value = object.get_valueAsString(* p);
Property values
Type: BSTR
The string version of value.
Exceptions
| Exception | Condition |
|---|---|
|
An invalid string value is specified. For versions earlier than Internet Explorer 10, DOM_SYNTAX_ERR is returned. |
|
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
If you set the valueAsString property, the value, valueInSpecifiedUnits, and svgUnitTypes properties are updated automatically to reflect this setting.
See also
Show:

