Click or drag to resize

PdfFlateDecodeFilterColors Property

(May be used only if Predictor is greater than 1) The number of interleaved color components per sample. Valid values are 1 to 4 (PDF 1.0) and 1 or greater (PDF 1.3).

Default value: 1.


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

Property Value

Int32
The number of interleaved color components per sample.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionValue is less than 1.
InvalidOperationExceptionPredictor is not greater than 1.
InvalidPdfDictionaryEntryExceptionValue is not according to PDF Specification ISO 32000-1:2008.
See Also