Accusoft.Forms1 - Updated
TargetContrast Property



Accusoft.ScanFixXpressSdk Namespace > BrightnessContrastOptions Class : TargetContrast Property
Gets and sets the target contrast between foreground and background for the adjusted image.
Syntax
Public Property TargetContrast As Byte
Dim instance As BrightnessContrastOptions
Dim value As Byte
 
instance.TargetContrast = value
 
value = instance.TargetContrast
public byte TargetContrast {get; set;}
public:
property byte TargetContrast {
   byte get();
   void set (    byte value);
}
Remarks

The default value is 127.

Valid values are 1 to 255.

This value sets the target contrast for document images, where contrast is calculated by comparing the 50th and 1st percentile brightness across the image. Images that have a contrast below the target range will have a contrast correction method recommended.

See Also

Reference

BrightnessContrastOptions Class
BrightnessContrastOptions Members