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

Leadtools Assembly