←Select platform

GetPalette Method

Summary

Gets the palette of the RasterImage object being created.

Syntax
C#
VB
C++
public RasterColor[] GetPalette() 
Public Function GetPalette() As RasterColor() 
 
'Usage 
Dim instance As RasterImageAllocateData 
Dim value() As RasterColor 
 
value = instance.GetPalette() 
public: 
array<RasterColor>^ GetPalette() 

Return Value

An array of RasterColor that contains the palette of the RasterImage object being created.

Remarks

You cannot change the width, height, bits/pixel, order or size of the RasterImage object being created. You can however inspect and change the memory model (conventional, disk, tiled, etc.).

Example

For an example, refer to RasterDefaults.SetRasterImageAllocateCallback.

Requirements

Target Platforms

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

Leadtools Assembly