Previous Document Next Document
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 code example displays the Print dialog box and then a message box with 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 2007 Corel Corporation. All rights reserved.