API Documentation > CorelDRAW > 2025-v26 > PDFVBASettings > IPDFVBASettings
PDFVBASettings.Reset method
Resets all the settings to their default values
Syntax:
Sub Reset()
Remarks:
The Reset method resets all the PDF settings of a document to their default values.
Examples:
The following VBA example applies the default settings to publish the active document to PDF. All objects are published using the CMYK color model.
Sub Test()
With ActiveDocument.PDFSettings
  .Reset
  .ColorMode = pdfCMYK
End With
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" 
End Sub