Previous Document Next Document
PDFVBASettings.Subject

Property Subject As String

Member of PDFVBASettings

The Subject property specifies a subject with a PDF.

The following code example publishes the active document to PDF and specifies the file’s author, subject, and keywords.

Sub Test() 
 With ActiveDocument.PDFSettings 
  .Author = "Graphix Design, Inc" 
  .Keywords = "Animals, Farm, Bulls" 
  .Subject = "Animal Farms" 
 End With 
 ActiveDocument.PublishToPDF "C:\MyFarm.pdf" 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.