LPDFCompressor::Free

#include "ltwrappr.h"

#include "LTCPDFComp.h"

L_VOID LPDFCompressor::Free();

Frees all associated memory allocated by LPDFCompressor::Init function.

Returns

None.

Comments

For each call to LPDFCompressor::Init there must be a call to LPDFCompressor::Free. This function should be the last function to be called when using the PDF compressor.

If this function is called before calling LPDFCompressor::Write, then the PDF document file in the memory will be destroyed and the user will lose the data in that document.

Required DLLs and Libraries

LCMRC
LCPDF
LCENC
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::Init

Topics:

Creating a Compressed PDF File

 

C++ Class Library Function Groups

Example

For an example, refer to LPDFCompressor::InsertNormal.