Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / RenderContextUtility Class / ConvertColor Method
The color (WinForms) or brush (WPF)

In This Topic
    ConvertColor Method
    In This Topic
    Method unified between WinForms and WPF that converts a System.Drawing.Color or System.Windows.Media.Brush to a System.Drawing.Color.
    Syntax
    'Declaration
     
    Public Shared Function ConvertColor( _
       ByVal color As Color _
    ) As Color
    public static Color ConvertColor( 
       Color color
    )

    Parameters

    color
    The color (WinForms) or brush (WPF)

    Return Value

    The converted System.Drawing.Color.
    See Also