Controlling GDI+ Features at Run Time
It is possible to specify, through a resource or an environment variable. if you want GDI+ to be used. The following table summarizes the possible values and the effect of each:
GDI+ Resources
Resource (.ini file) | Environment Variable | Value |
UseGdiPlus | ILVUSEGDIPLUS | needed: GDI+ is used only when it is needed, for example, when transparency or anti-aliasing is required. This is the default. true: GDI+ is used each time it is possible. false: GDI+ is never used. |
UseGdiPlusPrinting | ILVUSEGDIPLUSPRINTING | false: GDI+ is not used for printing. By default, GDI+ is used for printing. |
For example, the following views.ini file sets GDI+ to be used each time it is possible:
[Views]
UseGdiPlus=true
Rogue Wave Views Cairo integration does not support text rendering using gradients. In order for GDI+ to use identical rendering to Cairo, the GDI+ feature in Rogue Wave Views is set, by default, not to use gradients for text renderings. To force Rogue Wave Views to allow GDI+ text renderings using gradients, you can set the following resource or environment variable:
GDI+ Resource for text rendering
Resource (.ini file) | Environment Variable | Value |
UseGradientText | ILVUSEGRADIENTTEXT | true: Allow the use of gradients to render text. |
Version 6.2.1
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.