Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / PictureCommand Class / BrightnessContrast Method
The picture or group which contains a single picture to modify.
The brightness of picture.
The contrast of picture.


In This Topic
    BrightnessContrast Method
    In This Topic
    Creates a command that change sharpness of the picture.
    Syntax
    'Declaration
     
    
    Public Shared Function BrightnessContrast( _
       ByVal shape As IShape, _
       ByVal brightness As Double, _
       ByVal contrast As Double _
    ) As PictureCommand
    'Usage
     
    
    Dim shape As IShape
    Dim brightness As Double
    Dim contrast As Double
    Dim value As PictureCommand
     
    value = PictureCommand.BrightnessContrast(shape, brightness, contrast)
    public static PictureCommand BrightnessContrast( 
       IShape shape,
       double brightness,
       double contrast
    )

    Parameters

    shape
    The picture or group which contains a single picture to modify.
    brightness
    The brightness of picture.
    contrast
    The contrast of picture.
    See Also