LPDFCompressor::Init

#include "ltwrappr.h"

#include "LTCPDFComp.h"

L_INT LPDFCompressor::Init()

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

Returns

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

LCMRC
LCPDF>

Return Codes is in RAster Main

LBitmapBase
LCZIB
LTSGM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LPDFCompressor::Free

Topics:

Creating a Compressed PDF File

 

C++ Class Library Function Groups

Example

For an example, refer to LPDFCompressor::InsertNormal.