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



Gets the 8-bit lookup table (LUT) of this RasterImage.

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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also