Previous Document Next Document
Document.PDFSettings

Property PDFSettings As PDFVBASettings

Member of Document

The PDFSettings property returns a PDFVBASettings object that allows you to set options used when publishing to PDF.

The PDFSettings property returns a read-only value.

The following code example publishes the current document to PDF with some of the settings changed from their defaults.

Sub Test() 
 With ActiveDocument.PDFSettings 
  .Author = "John Doe" 
  .ColorMode = pdfCMYK 
  .ComplexFillsAsBitmaps = True 
  .FountainSteps = 10 
 End With 
 ActiveDocument.PublishToPDF "C:\Temp\Document.pdf" 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.