The FileInformation property determines whether file information is included in a PDF file.
Examples:
The following VBA example publishes the document to PDF. Crop marks, densitometer scales, file information, and color registration marks are included in the PDF file.
Sub Test()
With ActiveDocument.PDFSettings
.CropMarks = True
.DensitometerScales = True
.FileInformation = True
.RegistrationMarks = True
End With
ActiveDocument.PublishToPDF "C:\MyDocument.pdf"
End Sub