Skip to content

PdfThresholdFilter Class

Definition

Namespace: Xfinium.Pdf.Rendering.Imaging

Defines a binarization filter that uses a fixed threshold to convert grayscale data to black and white.

C#
public class PdfThresholdFilter : PdfBinarizationFilter

Inheritance: Object → PdfBinarizationFilter → PdfThresholdFilter

Remarks

Gray values above the threshold are converted to white, gray values below the threshold are converted to black.

Constructor

Name Description
PdfThresholdFilter(Byte) Initializes a new PdfThresholdFilter object.