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



Gets the 8-bit lookup table (LUT) of this RasterImage. Supported in Silverlight, Windows Phone 7

Syntax

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

Return Value

An array of RasterColor structures which represent the lookup table (LUT) of this RasterImage.

Example

For an example, refer to SetLookupTable.

Remarks

The lookup table (LUT) is used when the value of UseLookupTable is set to true.

The 8-bit and 16-bit lookup tables are synchronized, so when you change one, the other is changed as well The 16-bit lookup table (RasterImage.GetLookupTable16) has more precision so it is recommended you use the 16-bit LUT instead of the 8-bit LUT.

For more information, refer to Grayscale Images.

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