SVGLength.ValueAsString

SVGLength.ValueAsString property

The value as a string value, in the units expressed by unitType. Setting this attribute will cause value, valueInSpecifiedUnits and unitType to be updated automatically to reflect this setting.

public string ValueAsString { get; set; }

Property Value

The value as string.

Exceptions

exceptioncondition
DOMExceptionCode SYNTAX_ERR Raised if the assigned string cannot be parsed as a valid length.
DOMExceptionCode NO_MODIFICATION_ALLOWED_ERR Raised when the length corresponds to a read only attribute or when the object itself is read only.

See Also