L_DocWriterInsertPage

#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.

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

LEADTOOLS Raster Imaging C API Help