Previous Document Next Document
PDFVBASettings.Reset

Sub Reset()

Member of PDFVBASettings

The Reset method resets all of the PDF settings of the document to their default values.

The following code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.