LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetPalette Method
See Also 
Leadtools.ImageProcessing Namespace > ColorResolutionCommand Class : GetPalette Method



Gets the custom palette to use when converting the image. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Function GetPalette() As RasterColor()
Visual Basic (Usage)Copy Code
Dim instance As ColorResolutionCommand
Dim value() As RasterColor
 
value = instance.GetPalette()
C# 
public RasterColor[] GetPalette()
C++/CLI 
public:
array<RasterColor>^ GetPalette(); 

Return Value

The custom palette to use when converting the image.

Example

For an example, refer to ColorResolutionCommand

Remarks

Use the SetPalette method to set the palette to use.

The custom palette to use. Specify this parameter as follows:

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also