LPDFCompressor::Init

Summary

Initializes the PDF compressor and creates an empty PDF document file in the memory.

Syntax

#include "ltwrappr.h"
#include "LTCPDFComp.h"

L_INT LPDFCompressor::Init()

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

LPDFCompressor::Init must be called before calling any other PDF compressor functions.

When the PDF Compressor and the PDF document are no longer needed, they should be freed by calling LPDFCompressor::Free. For every call to LPDFCompressor::Init there must be a call to LPDFCompressor::Free.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LPDFCompressor::InsertNormal.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS MRC C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.