Previous Document Next Document
PDFVBASettings.Load

Function Load(SettingName As String) As Boolean

Member of PDFVBASettings

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

Parameters
Description
SettingName
Specifies the name of the setting as a string enclosed by quotation marks

The following code 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 2007 Corel Corporation. All rights reserved.