Previous Document Next Document

Object Model Reference : Classes : P : PrintSettings : Properties : PrintSettings.Trapping


PrintSettings.Trapping

Property Trapping As PrintTrapping

Description

Member of PrintSettings

The Trapping property returns a PrintTrapping object.

The Trapping property returns a read-only value.

VBA example

The following VBA example displays the Print dialog box followed by a message box containing the current trapping width.

Sub Test()
 With ActiveDocument.PrintSettings
  .PostScript.Level = prnPSLevel3
  .Separations.Enabled = False
  .Trapping.Enabled = True
  .ShowDialog
  MsgBox "The current trapping width is " & Round((.Trapping.Width / 254000) * 72, 1) & " pt"
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.