Class FlateEncode
FlateEncode filter can be used to compress any data stream using Flate (i.e. ZIP) compression method.
Implements
Inherited Members
Namespace: pdftron.Filters
Assembly: PDFNet.dll
Syntax
public class FlateEncode : Filter, IDisposable
Constructors
FlateEncode(Filter)
Constructor for Flate encoder.
Declaration
public FlateEncode(Filter input_filter)
Parameters
Type | Name | Description |
---|---|---|
Filter | input_filter | the input data stream |
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |
FlateEncode(Filter, int)
Instantiates a new flate encode.
Declaration
public FlateEncode(Filter input_filter, int compression_level)
Parameters
Type | Name | Description |
---|---|---|
Filter | input_filter | the input_filter |
int | compression_level | compression level |
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |
FlateEncode(Filter, int, int)
Instantiates a new flate encode.
Declaration
public FlateEncode(Filter input_filter, int compression_level, int buf_sz)
Parameters
Type | Name | Description |
---|---|---|
Filter | input_filter | input filter |
int | compression_level | compression level |
int | buf_sz | size of buffer |
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |