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

In This Topic
    AdjustContrastRef Method
    In This Topic
    Adjusts the contrast of a color.
    Syntax
    'Declaration
     
    Public Shared Sub AdjustContrastRef( _
       ByRef result As ColorF, _
       ByRef value As ColorF, _
       ByVal contrast As Single _
    ) 
    public static void AdjustContrastRef( 
       out ColorF result,
       ref ColorF value,
       float contrast
    )

    Parameters

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