Previous Document Next Document

Object Model Reference : Classes : P : PDFVBASettings : Properties : PDFVBASettings.Author


PDFVBASettings.Author

Property Author As String

Description

Member of PDFVBASettings

The Author property sets or returns the author of a PDF document.

VBA example

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