Click or drag to resize

PdfFlateDecodeFilterPredictor Property

A code that selects the predictor algorithm, if any. If the value is 1, the PdfFlateDecodeFilter shall assume that the normal algorithm was used to encode the data, without prediction. If the value is greater than 1, the PdfFlateDecodeFilter shall assume that the data was differenced before being encoded, and Predictor selects the predictor algorithm. For more information regarding Predictor values greater than 1, see 7.4.4.4, "LZW and Flate Predictor Functions".

Default value: 1.


Namespace: SautinSoft.Pdf.Filters
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.6.5
Syntax
public int Predictor { get; set; }

Property Value

Int32
The code that selects the predictor algorithm, if any.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionValue is less than 1.
InvalidPdfDictionaryEntryExceptionValue is not according to PDF Specification ISO 32000-1:2008.
See Also