Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / UserColor Class / UserColor Constructor / UserColor Constructor(ThemeColorId,Single,Single,Single)
A theme color that should be applied to the object.
The degree of transparency of the color as a value between 0 (opaque) and 1 (clear).
The brightness of the color from -1 (darkest) to 1 (lightest), zero being neutral.
The lightening or darkening of the color from -1 (darkest) to 1 (lightest), zero being neutral.

In This Topic
    UserColor Constructor(ThemeColorId,Single,Single,Single)
    In This Topic
    Initializes a new instance of the UserColor class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal themeColor As ThemeColorId, _
       ByVal transparency As System.Single, _
       ByVal brightness As System.Single, _
       ByVal tintAndShade As System.Single _
    )
    public UserColor( 
       ThemeColorId themeColor,
       System.float transparency,
       System.float brightness,
       System.float tintAndShade
    )

    Parameters

    themeColor
    A theme color that should be applied to the object.
    transparency
    The degree of transparency of the color as a value between 0 (opaque) and 1 (clear).
    brightness
    The brightness of the color from -1 (darkest) to 1 (lightest), zero being neutral.
    tintAndShade
    The lightening or darkening of the color from -1 (darkest) to 1 (lightest), zero being neutral.
    See Also