valueAsString property

Gets or sets the string form of the value property, in the units that svgUnitTypes specifies.

Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.11Internet Explorer 9

 

Syntax

HRESULT value = object.put_valueAsString( v);HRESULT value = object.get_valueAsString(* p);

Property values

Type: BSTR

The string version of value.

Exceptions

ExceptionCondition
SyntaxError

An invalid string value is specified. For versions earlier than Internet Explorer 10, DOM_SYNTAX_ERR is returned.

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

Remarks

If you set the valueAsString property, the value, valueInSpecifiedUnits, and svgUnitTypes properties are updated automatically to reflect this setting.

See also

SVGAngle
SVGLength

 

 

Show: