Namespace: BitMiracle.Docotic.Pdf
public void SetThresholdLevel( int level )
Public Sub SetThresholdLevel ( level As Integer )
The threshold level is used to decide which pixels are white and which are black when converting image data to black-and-white format.
The threshold level value should be between 0 and 255 inclusive. A threshold value 0 means that library should use midpoint between most light and dark pixels as a threshold value.
If the frames contain some scanned documents or other data with mostly white background pixels and mostly black foreground pixels then threshold level of 189 or higher is recommended to preserve most of the data.