Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
UsePaintPalette Property
See Also 
Leadtools Namespace > RasterPaintProperties Structure : UsePaintPalette Property



Enables or disables using the RasterImage.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);
}

Return Value

true to use the RasterImage.Palette, false to ignore it.

Example

For an example, refer to RasterPaintProperties.

Remarks

Set this to true to automatically cause the paint methods to use the image's RasterImage.Palette if it has one.

Requirements

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

See Also