IRGBColorDescription Interface

Provides access to members that control the RGB color interface.

Members

Name Description
Read/write property Alpha The Alpha Blending value. (0 for transparent, 255 for opaque).
Method QueryRGB Gets the red, green, blue components of a color respectively.
Method SetRGB Sets red, green, blue components of a color respectively. 0-255 is the valid range of values.

IRGBColorDescription.Alpha Property

The Alpha Blending value. (0 for transparent, 255 for opaque).

Public Property Alpha As Byte
public byte Alpha {get; set;}

IRGBColorDescription.QueryRGB Method

Gets the red, green, blue components of a color respectively.

Public Sub QueryRGB ( _
    ByRef r As Integer, _
    ByRef g As Integer, _
    ByRef b As Integer _
)
public void QueryRGB (
    ref int r,
    ref int g,
    ref int b
);

IRGBColorDescription.SetRGB Method

Sets red, green, blue components of a color respectively. 0-255 is the valid range of values.

Public Sub SetRGB ( _
    ByVal r As Integer, _
    ByVal g As Integer, _
    ByVal b As Integer _
)
public void SetRGB (
    int r,
    int g,
    int b
);

Classes that implement IRGBColorDescription

Classes Description
RgbColorDescription A color description to describe RGB, red, green, blue colors.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.