ComponentOne Reports for WPF
C1.C1Report.CustomFields.Maps Namespace / Util Class / GetColor Method
The object to convert.

In This Topic
    GetColor Method
    In This Topic
    Converts an object to a System.Drawing.Color value.
    Syntax
    'Declaration
     
    Public Shared Function GetColor( _
       ByVal value As Object _
    ) As Nullable(Of Color)
    public static Nullable<Color> GetColor( 
       object value
    )

    Parameters

    value
    The object to convert.

    Return Value

    The converted color, or null if the object could not be converted.
    See Also