Object Model Reference : Classes : P : PrintTrapping : Properties : PrintTrapping.ObjectsToImage |
Property ObjectsToImage As Boolean
Member of PrintTrapping
The ObjectsToImage property determines whether vector objects are trapped to images.
The following VBA example stores the current setting of objects-to-image trapping. It displays a dialog box indicating that this option is enabled and then restores the previous setting.
Sub Test() |
Dim bObjectsToImage As Boolean |
With ActiveDocument.PrintSettings |
With .Trapping |
bObjectsToImage = .ObjectsToImage |
.ObjectsToImage = True |
End With |
.ShowDialog |
.Trapping.ObjectsToImage = bObjectsToImage |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.