Object Model Reference : Classes : P : PDFVBASettings : Methods : PDFVBASettings.Reset |
Sub Reset()
Member of PDFVBASettings
The Reset method resets all PDF settings for a document to their default values.
The following VBA example applies the default settings when publishing the active document to PDF. All objects are published by using the CMYK color model.
Sub Test() |
With ActiveDocument.PDFSettings |
.Reset |
.ColorMode = pdfCMYK |
End With |
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.