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_ERRRaised if the assigned String cannot be parsed as a valid length.
dOMExceptionCode NO_MODIFICATION_ALLOWED_ERRRaised when the length corresponds to a read only attribute or when the object itself is read only.

See Also