PDFCompInit method (ILEADPDFCompressor)
short PDFCompInit (VARIANT_BOOL bEnablePDFCompEvent); | |
Overview |
Refer to Creating a Compressed PDF File |
Remarks
(Advanced PDF Plug in only) Initializes the PDF compressor object and creates an empty PDF document file in the memory.
The PDFCompInit method must be called before calling any other PDFCompXXXX property, method or event.
This method also enables or disables firing the PDFCompEvent event, which is used anytime an MRC segmented bitmap is inserted by calling the PDFCompInsertMRC method or the PDFCompInsertNormal method.
When the PDF compressor object is no longer needed, the user must call PDFCompFree method. For every call to the PDFCompInit method there must be a call to PDFCompFree.
See Also
Elements: |
PDFCompFree method, PDFCompInsertMRC method, PDFCompInsertNormal method, PDFCompEvent Event |
Topics: |