Object Model Reference : Classes : P : PDFVBASettings : Methods : PDFVBASettings.Load |
Function Load(SettingName As String) As Boolean
Member of PDFVBASettings
The Load method loads PDF settings from a specified preset file. A Boolean value is returned.
The following VBA example loads the PDF for Document Distribution publishing style and uses it to publish the active document to PDF.
Sub Test() |
ActiveDocument.PDFSettings.Load "PDF for Document Distribution" |
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.