Previous Document Next Document

Object Model Reference : Classes : P : PrintTrapping : Properties : PrintTrapping.Enabled


PrintTrapping.Enabled

Property Enabled As Boolean

Description

Member of PrintTrapping

The Enabled property determines whether print trapping is turned on.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.