BCL easyConverter SDK
easyConverter SDK Usermanual
PDF-to-Word Programming API  |  Download Free Trial  |  Contact Us to Purchase

ConvertBookmarks Property

Set the option to convert bookmark for PDF files when converting to RTF files.

Sub ConvertBookmarks(newVal As Long)


Parameters

newVal

One of optBkmk values:

OPT_BKMK_NONE = 0 - no bookmarks in RTF,
OPT_BKMK_PAGE_START = 1 - put a bookmark in the beginning of every page (Default),
OPT_BKMK_PDF_EXTRACT = 2 - extract bookmarks from PDF

Exception Handling

Please refer to the list of return exceptions.

Example Usage

oConverter = CreateObject("EasyConverter.PDF2Word.5")

' Set the option to convert bookmark for PDF files when converting to RTF files
oConverter.OcrOption = OPT_BKMK_PDF_EXTRACT
Call oConverter.ConvertToWord(inFileName, outFileName)