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



Enables or disables automatically using the Leadtools.RasterImage object palette when displaying the image.

Syntax

Visual Basic (Declaration) 
Public Property UsePaintPalette As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterPaintProperties
Dim value As Boolean
 
instance.UsePaintPalette = value
 
value = instance.UsePaintPalette
C# 
public bool UsePaintPalette {get; set;}
C++/CLI 
public:
property bool UsePaintPalette {
   bool get();
   void set (    bool value);
}

Property Value

true to automatically use the Leadtools.RasterImage object palette, false to ignore it.

Example

For an example, refer to RasterPaintProperties.

Remarks

Used only when PaintEngine is set to RasterPaintEngine.Gdi.

Set this to true to automatically cause the paint methods to use the Leadtools.RasterImage palette if it has any.

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