L_PdfCompFree

Summary

Frees the PDF document handle and all associated memory.

Syntax

#include "l_bitmap.h"
#include "lpdfComp.h"

L_LCMRC_API L_VOID L_PdfCompFree (hDocument)

Parameters

LCPDF_HANDLE hDocument

Pointer to a handle to an existing PDF document. This handle was created by calling the L_PdfCompInit function.

Returns

None

Comments

For each call to L_PdfCompInit there must be a call to L_PdfCompFree. This function should be the last function to be called in the PDF compressor functionality. It will free memory associated with the PDF document handle.

If this function is called before calling L_PdfCompWrite, 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

See Also

Functions

Topics

Example

For an example, refer to L_PdfCompInsertNormal.

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

LEADTOOLS Mixed Raster Content (MRC) C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.