Previous Document Next Document

Object Model Reference : Classes : P : PrintOptions : Properties : PrintOptions.MarksToPage


PrintOptions.MarksToPage

Property MarksToPage As Boolean

Description

Member of PrintOptions

The MarksToPage property fits a printer’s marks to the printable page.

VBA example

The following VBA example disables the MarksToPage setting, enables registration marks, creates a rectangle, and prints the document. It then enables the MarksToPage setting and prints the document again.

Sub Test()
 Dim s As Shape
 With ActiveDocument
  .PrintSettings.Options.MarksToPage = False
  .PrintSettings.Prepress.RegistrationMarks = True
  Set s = .ActiveLayer.CreateRectangle(2, 6, 8, 8)
  .PrintOut
  .PrintSettings.Options.MarksToPage = True
  .PrintSettings.Prepress.RegistrationMarks = True
  .PrintOut
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.