L_DocWriterInsertPage

Syntax

#include "l_bitmap.h"

L_LTDOCWRT_API L_INT L_DocWriterInsertPage(hDocument, PageType, pPage, pageNumber)

Parameters

DOCUMENTWRITER_HANDLE hDocument

Handle to an existing Document. This handle is obtained by calling the L_DocWriterInit function.

DOCWRTPAGETYPE PageType

Page type.

L_VOID * pPage

Pointer to a DOCWRTPAGE structure that contains information about the added page.

L_UINT pageNumber

1-based number of the page

Returns

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

Comments

Calls STATUSCALLBACK to follow the conversion process.

Before using the LEADTOOLS Document Writers SDK, unlock it using L_SetLicenseFile. If you want to use the PDF format you must also unlock PDF support with L_SetLicenseFile.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

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

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