typedef struct _DOCWRTPDFUSERBOOKMARK
{
L_UINT uStructSize;
L_INT nLevelNumber;
L_INT nPageNumber;
L_DOUBLE dXCoordinate;
L_DOUBLE dYCoordinate;
L_WCHAR szBookmarkName[100];
} DOCWRTPDFCUSTOMBOOKMARK, * pDOCWRTPDFCUSTOMBOOKMARK;
The DOCWRTPDFCUSTOMBOOKMARK structure provides information about creation bookmark item with custom options.
Member |
Description |
uStructSize |
Size of this structure in bytes, for versioning. Use the sizeof() macro 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. |
pDOCWRTPDFCUSTOMBOOKMARK is a pointer to a DOCWRTPDFCUSTOMBOOKMARK structure. Declaring a pDOCWRTPDFCUSTOMBOOKMARK variable is necessary only if your program requires a pointer.
The nLevelNumber parameter 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 parameter 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.
This structure is used with the L_DocWriterConvert and L_DocWriterInit functions.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET