Leadtools.Forms.Ocr Namespace > IOcrPage Interface : GetPalette Method |
byte[] GetPalette()
'Declaration Function GetPalette() As Byte()
byte[] GetPalette()
function Leadtools.Forms.Ocr.IOcrPage.GetPalette()
array<byte>^ GetPalette();
The page contains a palette if the value of BitsPerPixel is less than or equal to 8.
The palette returned from this method is an array of bytes in the following format: Red0, Green0, Blue0, Red1, Green1, Blue1 ... RedN, GreenN, BlueN
.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2