Previous Document Next Document

Object Model Reference : Classes : P : PDFVBASettings : Methods : PDFVBASettings.Reset


PDFVBASettings.Reset

Sub Reset()

Description

Member of PDFVBASettings

The Reset method resets all PDF settings for a document to their default values.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.