Object Model Reference : Classes : P : PDFVBASettings : Properties : PDFVBASettings.Subject |
Property Subject As String
Member of PDFVBASettings
The Subject property specifies the subject of a PDF document.
The following VBA example publishes the active document to PDF and specifies the files 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 |
Copyright 2013 Corel Corporation. All rights reserved.