Previous Document Next Document
PrintTrapping.Enabled

Property Enabled As Boolean

Member of PrintTrapping

The Enabled property determines whether print trapping is turned on.

The following code example displays the current status of print trapping and displays the Print dialog box:

Sub Test() 
 With ActiveDocument.PrintSettings 
  With .Trapping 
   If .Enabled = True Then 
    MsgBox "Print trapping is currently enabled" 
   Else 
    MsgBox "Print trapping is currently disabled" 
   End If 
  End With 
  .ShowDialog 
 End With 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.