API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.PDFSettings property
Returns the PDF settings for the specified document
Syntax:
Property Get PDFSettings() As PDFVBASettings
Remarks:
The PDFSettings property returns a PDFVBASettings object that allows you to set options used when publishing to PDF.
Examples:
The following VBA example publishes the current document to PDF with some of the settings changed from their defaults.
Sub Test()
With ActiveDocument.PDFSettings
  .Author = "John Doe"
  .ColorMode = pdfCMYK
  .ComplexFillsAsBitmaps = True
  .FountainSteps = 10
End With
ActiveDocument.PublishToPDF "C:\Temp\Document.pdf" 
End Sub