Eyeshot 11 WPF API Reference
WPF Assembly / devDept.Graphics Namespace / RenderContextUtility Class / ConvertColorFromRgb Method
The red channel of the new color.
The green channel of the new color.
The blue channel of the new color.

In This Topic
    ConvertColorFromRgb Method
    In This Topic
    Creates a new System.Windows.Media.Brush structure by using the specified RGB color channel values.
    Syntax
    'Declaration
     
    Public Shared Function ConvertColorFromRgb( _
       ByVal r As Byte, _
       ByVal g As Byte, _
       ByVal b As Byte _
    ) As Brush
    public static Brush ConvertColorFromRgb( 
       byte r,
       byte g,
       byte b
    )

    Parameters

    r
    The red channel of the new color.
    g
    The green channel of the new color.
    b
    The blue channel of the new color.

    Return Value

    A System.Windows.Media.Brush structure with the specified values
    See Also