Object Model Reference : Classes : P : PrintSettings : Properties : PrintSettings.Trapping |
Property Trapping As PrintTrapping
Member of PrintSettings
The Trapping property returns a PrintTrapping object.
The Trapping property returns a read-only value.
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 |
Copyright 2013 Corel Corporation. All rights reserved.