<< Click to Display Table of Contents >> VpeSetBookmarkStyle |
[VPE Professional Edition and above]
Sets the current bookmark style.
void VpeSetBookmarkStyle(
VpeHandle hDoc,
int style
)
VpeHandle hDoc
Document Handle
int style
possible values are any combination of the following flags, the values can be combined by adding there values:
Constant Name |
Value |
Comment |
VBOOKMARK_STYLE_NONE |
0 |
[default] |
VBOOKMARK_STYLE_BOLD |
1 |
PDF 1.4 or higher |
VBOOKMARK_STYLE_ITALIC |
2 |
PDF 1.4 or higher |
VBOOKMARK_STYLE_OPEN |
4 |
|
Default:
VBOOKMARK_STYLE_NONE
Example:
// Bold and Italic styles will work only with PDF 1.4, activate it:
VpeSetPDFVersion(hDoc, VPE_PDF_ACROBAT_5);
// Change the bookmark style to bold and italic:
VpeSetBookmarkStyle(hDoc, VBOOKMARK_STYLE_BOLD + VBOOKMARK_STYLE_ITALIC)