Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction | Help Version 19.0.7.12
|
The following are the possible values for the PaintDisplayMode property of the RasterPaintProperties class:
Value |
Meaning |
None |
None. |
Enables or disables ordered dithering when painting. Ordered dithering is faster than the default dithering method, which uses error diffusion, but the quality of the image is not as good. |
|
Enables or disables fast painting. Fast painting should be performed only if the current video driver is good, and the image does not need to be dithered or resized to paint. No safety check for a faulty driver is performed. |
|
Enables or disables painting that is mapped directly to the selected palette. This is enabled by default; you can set this flag to disable it and let Windows do color matching between the paint palette and the selected palette. Indexed painting uses the colors from the currently selected palette. It is not used if the image is not palletized. |
|
Enables or disables dithered painting. This is enabled by default, but you can set this flag to false to disable it. When enabled, Floyd-Steinberg dithering is used to dither true color or high color images on devices that are 8 bits per pixel or less. When disabled, the device is responsible for color reduction. If this flag is set, LEADTOOLS handles the dithering. If this flag is not set, the display driver or the printer driver handles the dithering. |
|
(Document/Medical only) Enables grayscaling of 1-bit images when they are displayed. This improves the readability of the images when they are zoomed in or zoomed out, but it slows down the display. |
|
Enables use of the printing halftone (rather than the viewing halftone) when painting to a 1-bit device. This is useful if you are using the Paint method for printing. |
|
(Document/Medical only) Enables a bias in preserving black objects when displaying zoomed-out 1-bit images. This can prevent the disappearance of fine lines and details, but it slows down the display. |
|
Forces the use of a fixed palette when painting to a device that supports 256 colors or less. When this flag is off, the image handle controls palette usage. When this flag is on, the default is the LEAD fixed palette, but on 256-color devices, the Netscape palette is used if the NetscapePalette flag is also set. |
|
Sets the Netscape fixed palette as the preferred fixed palette when painting to a device that supports 256 colors. This fixed palette is employed by both Netscape Navigator and Microsoft Internet Explorer. |
|
Use bilinear interpolation (resample) if the paint process needs to resize the image. (Slower than regular resize) |
|
Use bicubic interpolation if the paint process needs to resize the image. (Slower than Resample) |