LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
RasterPaintDisplayModeFlags Enumeration
See Also  



Contains value that controls the speed, quality, and style of painting operations.

Syntax

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

Members

MemberDescription
BicubicEnables bicubic resize when displaying images at zoom factors other than 1:1.
DitheredPaintEnables 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.
FastPaintEnables 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.
FavorBlack(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.
FixedPaletteEnables the LEAD Fixed palette when displaying 24-bit (or greater) images on 8-bit (or less) devices.
HalftonePrintEnables use of the printing halftone (rather than the viewing halftone) when painting to a 1-bit device.
IndexedPaintEnables or disables painting that is mapped directly to the selected palette. You can this 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.
NetscapePaletteEnables the Netscape Fixed palette when displaying 24-bit (or greater) images on 8-bit (or less) devices.
NoneDefault
OrderedDitherEnables 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.
ResampleEnables resample resize when displaying images at zoom factors other than 1:1.
ScaleToGray(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.

Example

For an example, refer to RasterPaintProperties.

Remarks

Not used with GDI+ paint engine.

This enumeration provides value for the RasterPaintProperties.PaintDisplayMode property.

Inheritance Hierarchy

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

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also