API Documentation > CorelDRAW > 2025-v26 > PDFVBASettings > IPDFVBASettings
PDFVBASettings.Keywords property
Specifies the document keywords
Syntax:
Property Get Keywords() As String
Property Let Keywords(ByVal Value As String)
Remarks:
The Keywords property associates keywords with a PDF file.
Examples:
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