API Documentation > CorelDRAW > 2025-v26 > PDFVBASettings > IPDFVBASettings
PDFVBASettings.Startup property
Specifies the startup behavior of the PDF document
Syntax:
Property Get Startup() As pdfDisplayOnStart
Property Let Startup(ByVal Value As pdfDisplayOnStart)
Remarks:
The Startup property specifies, as pdfDisplayOnStart, the default viewing mode for a PDF file when opened in Adobe Reader.
Examples:
The following code example publishes the active document to PDF and specifies the thumbnail view as the default viewing mode.
Sub Test()
With ActiveDocument.PDFSettings
  .Thumbnails = True
  .Startup = pdfThumbnails
End With
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" 
End Sub