LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)

UsePaintPalette Property

Show in webframe





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:
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

See Also

Reference

RasterPaintProperties Structure
RasterPaintProperties Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.