DOCWRTPDFCUSTOMBOOKMARK

Summary

The DOCWRTPDFCUSTOMBOOKMARK structure provides information about creation bookmark item with custom options.

Syntax

typedef struct _DOCWRTPDFCUSTOMBOOKMARK 
{ 
   L_UINT uStructSize; 
   L_INT nLevelNumber; 
   L_INT nPageNumber; 
   L_DOUBLE dXCoordinate; 
   L_DOUBLE dYCoordinate; 
   L_TCHAR szBookmarkName[100]; 
} DOCWRTPDFCUSTOMBOOKMARK, * pDOCWRTPDFCUSTOMBOOKMARK; 

Members

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.

nLevelNumber

Value that represents the level number of bookmark item that is going to be created.

nPageNumber

Value that represents the page number at which the bookmark item will be created at.

dXCoordinate

Value that represents in points the horizontal coordinate of the part of document that bookmark item will be created for.

dYCoordinate

Value that represents in points the vertical coordinate of the part of document that bookmark item will be created for.

szBookmarkName

Specifies a null-terminated string that specifies the bookmark item name which is going to be created.

Comments

pDOCWRTPDFCUSTOMBOOKMARK is a pointer to a DOCWRTPDFCUSTOMBOOKMARK structure. Declaring a pDOCWRTPDFCUSTOMBOOKMARK variable is necessary only if your program requires a pointer.

The nLevelNumber member represents the level number of bookmark item inside Pdf bookmark, more than bookmark item can have the same value. This number should be equal or less than ten.

The nPageNumber member must be value greater or equal to 1 and less or equal to the total number of pages in the final PDF document, more than items can have the same page number.

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

Usage

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.