Table of Contents

Property BitonalThreshold

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

BitonalThreshold

Gets the threshold level to use when producing bitonal images.

public int BitonalThreshold { get; }

Property Value

int

The threshold level to use when producing bitonal images.

Remarks

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 is a value 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.

Check the Convert PDF to bitonal or grayscale images in .NET section of the Convert PDF to image in C# and VB.NET article. The section describes how to create black-and-white TIFF images.