Visual Basic (Declaration) | |
---|---|
Public Property UsePaintPalette As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool UsePaintPalette {get; set;} |
Return Value
true to automatically use the RasterImage object palette, false to ignore it.For an example, refer to RasterPaintProperties.
Used only when PaintEngine is set to RasterPaintEngine.Gdi.
Set this to true to automatically cause the paint methods to use the RasterImage palette if it has any.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family