Object Model Reference : Classes : P : PrintOptions : Properties : PrintOptions.PrintVectors |
Property PrintVectors As Boolean
Member of PrintOptions
The PrintVectors property returns or specifies whether vectors are printed.
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 |
Copyright 2013 Corel Corporation. All rights reserved.