LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)
LEAD Technologies, Inc

UsePaintPalette Property






Enables or disables automatically using the Leadtools.RasterImage object palette when displaying the image.
Syntax
public bool UsePaintPalette {get; set;}
'Declaration
 
Public Property UsePaintPalette As Boolean
'Usage
 
Dim instance As RasterPaintProperties
Dim value As Boolean
 
instance.UsePaintPalette = value
 
value = instance.UsePaintPalette
public bool UsePaintPalette {get; set;}
 get_UsePaintPalette();
set_UsePaintPalette(value);
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.
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.

Example
For an example, refer to RasterPaintProperties.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterPaintProperties Structure
RasterPaintProperties Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.