←Select platform

UsePaintPalette Property

Summary
Enables or disables automatically using the Leadtools.RasterImage object palette when displaying the image.
Syntax
C#
VB
C++
public bool UsePaintPalette { get; set; } 
Public Property UsePaintPalette As Boolean 
public: 
property bool UsePaintPalette { 
   bool get(); 
   void set (    bool ); 
} 

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

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Drawing Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.