←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Drawing Assembly