Click or drag to resize

PdfFlateDecodeFilter Class

The FlateDecode filter decode data that has been encoded using the public-domain zlib/deflate compression method, which is a variable length Lempel-Ziv adaptive compression method cascaded with adaptive Huffman coding. It is fully defined in Internet RFCs 1950, ZLIB Compressed Data Format Specification, and 1951, DEFLATE Compressed Data Format Specification.
Inheritance Hierarchy
SystemObject
  GemBox.Pdf.FiltersPdfFilter
    GemBox.Pdf.FiltersPdfFlateDecodeFilter

Namespace:  GemBox.Pdf.Filters
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public sealed class PdfFlateDecodeFilter : PdfFilter

The PdfFlateDecodeFilter type exposes the following members.

Properties
  NameDescription
Public propertyBitsPerComponent

(May be used only if Predictor is greater than 1) The number of bits used to represent each color component in a sample. Valid values are 1, 2, 4, 8, and (PDF 1.5) 16.

Default value: 8.

Public propertyColors

(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.

Public propertyColumns

(May be used only if Predictor is greater than 1) The number of samples in each row.

Default value: 1.

Public propertyFilterType
Gets the FlateDecode value.
(Overrides PdfFilterFilterType.)
Public propertyPredictor

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.

Public propertyPredictorFunction

Gets or sets the predictor algorithm.

Default value: None.

Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to this PdfFilter instance.
(Inherited from PdfFilter.)
Public methodGetHashCode
Returns a hash code for this PdfFilter instance.
(Inherited from PdfFilter.)
Public methodToString
Returns a String that represents this PdfFilter instance.
(Inherited from PdfFilter.)
Top
See Also