Object Model Reference : Classes : P : PDFVBASettings : Properties : PDFVBASettings.Bookmarks |
Property Bookmarks As Boolean
Member of PDFVBASettings
The Bookmarks property determines whether to include bookmarks in a PDF document.
The following VBA example publishes the active document to PDF. The resulting document includes bookmarks, hyperlinks, and thumbnails.
Sub Test() |
With ActiveDocument.PDFSettings |
Bookmarks = True |
Hyperlinks = True |
Thumbnails = True |
End With |
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.