THotPDF.SetCompressionMethod Method
Sets the compression method for a PDF document stream, throwing an exception if the document has already begun generation.
Declaration
procedure SetCompressionMethod(const Value: THPDFCompressionMethod);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Value | The compression method enumeration value to set |
Usage
This member returns no value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field or catalogue object is finalised
- Called prior to writing any page or content to the PDF, configuring the global data compression strategy.
See also
- THotPDF
- Directory
- Contents