Previous Document Next Document

Object Model Reference : Classes : P : PrintOptions : Properties : PrintOptions.PrintBitmaps


PrintOptions.PrintBitmaps

Property PrintBitmaps As Boolean

Description

Member of PrintOptions

The PrintBitmaps property returns or specifies whether bitmaps are printed.

VBA example

The following VBA example creates a rectangle, fills the rectangle, and converts it to a bitmap. It then creates another rectangle. Finally, before printing the document, it sets vectors, but not bitmaps, to print.

Sub Test()
 Dim s As Shape
 With ActiveDocument
   Set s = .ActiveLayer.CreateRectangle(2, 6, 8, 8)
   s.Fill.UniformColor.RGBAssign 255, 0, 0
   s.ConvertToBitmap , , , , 96
   Set s = .ActiveLayer.CreateRectangle(4, 6, 8, 2)
   .PrintSettings.Options.PrintBitmaps = False
   .PrintSettings.Options.PrintVectors = True
   .PrintOut
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.