Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
RasterPaintDisplayModeFlags Enumeration
See Also  
Leadtools Namespace : RasterPaintDisplayModeFlags Enumeration



Controls image display.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum RasterPaintDisplayModeFlags 
   Inherits Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As RasterPaintDisplayModeFlags
C# 
[FlagsAttribute()]
public enum RasterPaintDisplayModeFlags : Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[FlagsAttribute()]
public enum class RasterPaintDisplayModeFlags : public Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
None Default.
OrderedDither 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.
FastPaint 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.
IndexedPaint 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 palettized.
DitheredPaint 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.
ScaleToGray (Advanced Features 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.
HalftonePrint Enables use of the printing halftone (rather than the viewing halftone) when painting to a 1-bit device.
FavorBlack (Advanced Features 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.
FixedPalette Enables the LEAD Fixed palette when displaying 24-bit (or greater) images on 8-bit (or less) devices.
NetscapePalette Enables the Netscape Fixed palette when displaying 24-bit (or greater) images on 8-bit (or less) devices.
Resample Enables resample resize when displaying images at zoom factors other than 1:1.
Bicubic Enables bicubic resize when displaying images at zoom factors other than 1:1.

Example

For an example, refer to RasterPaintProperties.

Remarks

For more information, refer to RasterPaintProperties.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.RasterPaintDisplayModeFlags

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also