ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX Namespace / ColorF Structure / AdjustContrast Method
The color whose contrast is to be adjusted.
The amount by which to adjust the contrast.

In This Topic
    AdjustContrast Method
    In This Topic
    Adjusts the contrast of a color.
    Syntax
    'Declaration
     
    Public Shared Function AdjustContrast( _
       ByVal value As ColorF, _
       ByVal contrast As Single _
    ) As ColorF
    public static ColorF AdjustContrast( 
       ColorF value,
       float contrast
    )

    Parameters

    value
    The color whose contrast is to be adjusted.
    contrast
    The amount by which to adjust the contrast.

    Return Value

    The adjusted color.
    See Also