Previous Document Next Document
PrintTrapping.ObjectsToImage

Property ObjectsToImage As Boolean

Member of PrintTrapping

The ObjectsToImage property determines whether vector objects are trapped to images.

The following code example stores the current setting of objects-to-image trapping. It displays the dialog box that shows 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.