SetContrast Method

See Also     Examples     Applies To

Adjust the contrast into the native GdPicture image or into the area defined by SetROI() function.

Syntax

object.SetContrast (nContrastPct)

The SetContrast syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nContrastPct Required. Long. Percentage of contrast to add/remove.

Returns

GdPictureStatus

Category

Brightness / Contrast / Saturation / Gamma

Visual Basic Sample

To increase contrast of 10%


              nStat = object.SetContrast(10)






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.