Object Model Reference : Classes : P : PrintTrapping : Properties : PrintTrapping.Enabled |
Property Enabled As Boolean
Member of PrintTrapping
The Enabled property determines whether print trapping is turned on.
The following VBA 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 |
Copyright 2013 Corel Corporation. All rights reserved.