Method GetRgbColorValue
- Namespace
- SharpVectors.Dom.Css
- Assembly
- SharpVectors.Css.dll
GetRgbColorValue()
This method is used to get the RGB color. If this CSS value doesn't contain a RGB color value, a DomException is raised. Modification to the corresponding style property can be achieved using the RGBColor interface.
public virtual ICssColor GetRgbColorValue()
Returns
- ICssColor
the RGB color value.
Exceptions
- DomException
INVALID_ACCESS_ERR:
Raised if the CSS value doesn't contain a rgb value.