The DOCWRTPDFBOOKMARK structure provides information about bookmarking PDF document files in DocuemtWriter SDK.
typedef struct _DOCWRTPDFBOOKMARK
{
L_UINT uStructSize;
pDOCWRTPDFAUTOBOOKMARK pAutoBookmark;
pDOCWRTPDFCUSTOMBOOKMARK pCustomBookmark;
L_BOOL bAutoBookmark;
L_INT nLevelsCount;
L_INT nCustomBookmarksCount;
} DOCWRTPDFBOOKMARK, *pDOCWRTPDFBOOKMARK;
Size of the structure. This must be set before passing the structure to the LEAD functions. Use sizeof(DOCWRTPDFBOOKMARK) to calculate this value.
Pointer to a DOCWRTPDFAUTOBOOKMAR structure that contains information about the creation auto bookmarks.
Pointer to a DOCWRTPDFCUSTOMBOOKMARK structure that contains information about the creation custom bookmarks.
Flag that indicates whether to use auto or user bookmark. Possible values are:
Value | Meaning |
---|---|
TRUE | Saves PDF document using auto bookmark. |
FALSE | Saves PDF document using custom bookmark. |
Value that represents the total numbers of bookmark levels for the PDF document being saved. The maximum number of levels is ten.
When bAutoBookmark
is TRUE, then nLevelsCount
represents the total number of pAutoBookmark
. The nLevelsCount
value should not be zero.
Value that represents the total number of user bookmarks, which are going to be created, when custom bookmarks are used this value should not be zero.
pDOCWRTPDFBOOKMARK is a pointer to a DOCWRTPDFBOOKMARK structure. Declaring a pDOCWRTPDFBOOKMARK variable is necessary only if your program requires a pointer.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document