Previous Document Next Document

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


PDFVBASettings.Load

Function Load(SettingName As String) As Boolean

Description

Member of PDFVBASettings

The Load method loads PDF settings from a specified preset file. A Boolean value is returned.

Parameter
Description
SettingName
Specifies the name of the setting

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.