Object Model Reference : Classes : P : PDFVBASettings : Properties : PDFVBASettings.CropMarks |
Property CropMarks As Boolean
Member of PDFVBASettings
The CropMarks property determines whether crop marks are included in a PDF document.
The following VBA example publishes the document to PDF. Crop marks, densitometer scales, file information, and color registration marks are included in the PDF document.
Sub Test() |
With ActiveDocument.PDFSettings |
CropMarks = True |
DensitometerScales = True |
FileInformation = True |
RegistrationMarks = True |
End With |
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.