Object Model Reference : Classes : P : PDFVBASettings : Properties : PDFVBASettings.pdfVersion |
Property pdfVersion As pdfVersion
Member of PDFVBASettings
The pdfVersion property optimizes a PDF document for the specified version.
The following VBA example publishes the active document to the PDF/X-1 format.
Sub Test() |
ActiveDocument.PDFSettings.pdfVersion = pdfVersionPDFX1 |
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.