Export (0) Print
Expand All

valueAsString property

Gets or sets the string form of the ISVGLength::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 ISVGLength::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 ISVGLength::valueAsString property, the ISVGLength::value, ISVGLength::valueInSpecifiedUnits, and svgUnitTypes properties are updated automatically to reflect this setting.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft