Object Model Reference : Classes : P : PrintOptions : Properties : PrintOptions.UseColorProfile |
Property UseColorProfile As Boolean
Member of PrintOptions
The UseColorProfile property returns or specifies whether to use the selected color profile. Using a color profile reproduces colors more accurately.
• |
This setting does not affect grayscale output.
|
The following VBA example creates a rectangle, fills it, and prints the document. Then color profile is applied, and the document is printed again.
Sub Test() |
Dim s As Shape |
With ActiveDocument |
.PrintSettings.Options.UseColorProfile = False |
Set s = .ActiveLayer.CreateRectangle(2, 6, 8, 8) |
s.Fill.UniformColor.RGBAssign 255, 255, 0 |
.PrintOut |
.PrintSettings.Options.UseColorProfile = True |
.PrintOut |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.