|
THotPDF.Compression
|
Top Previous Next |
|
Determines the PDF file compression.
type THPDFCompressionMethod = (cmNone, cmFlateDecode);
Delphi syntax: property Compression: THPDFCompressionMethod;
C++ syntax: __property THPDFCompressionMethod Compression;
Description Use Compression to get or set the PDF file compression. Compression is one of the following values:
Value Meaning cmNone PDF file not compressed. cmFlateDecode PDF file encoded using the deflate compression method.
Stacking further size reductions Compression controls FlateDecode encoding of page content / font / image streams, and also selects the Flate effort used for structural containers: the cross-reference stream emitted by UseXRefStream and the To switch the whole lot on for a single document, font subsetting included, set CompressDocument
Code Example
|