API Documentation > CorelDRAW > 2025-v26 > PDFVBASettings > IPDFVBASettings
PDFVBASettings.Bookmarks property
Specifies whether bookmarks should be included
Syntax:
Property Get Bookmarks() As Boolean
Property Let Bookmarks(ByVal Value As Boolean)
Remarks:
The Bookmarks property determines whether to include bookmarks in a PDF file.
Examples:
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