Table of Contents

Method GetStringValue

Namespace
SharpVectors.Dom.Css
Assembly
SharpVectors.Core.dll

GetStringValue()

This method is used to get the string value. If the CSS value doesn't contain a string value, a DomException is raised.

Note: Some properties (like 'font-family' or 'voice-family') convert a whitespace separated list of idents to a string.

string GetStringValue()

Returns

string

The string value in the current unit. The current primitiveType can only be a string unit type (i.e. STRING, URI, IDENT, and ATTR).

Exceptions

DomException

INVALID_ACCESS_ERR: Raised if the CSS value doesn't contain a string value.