Table of Contents

Method GetRgbColorValue

Namespace
SharpVectors.Dom.Css
Assembly
SharpVectors.Core.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 ICssColor interface.

ICssColor GetRgbColorValue()

Returns

ICssColor

the RGB color value.

Exceptions

DomException

INVALID_ACCESS_ERR: Raised if the attached property can't return a RGB color value (e.g. this is not RGBCOLOR).