ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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 System.Single _
    ) As ColorF
    public static ColorF AdjustContrast( 
       ColorF value,
       System.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