Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.9
|
Leadtools.Forms.Ocr Assembly > Leadtools.Forms.Ocr Namespace > IOcrPage Interface : GetPalette Method |
byte[] GetPalette()
'Declaration
Function GetPalette() As Byte()
byte[] GetPalette()
@property (nonatomic, strong, readonly, nullable) NSArray<LTRasterColor *> *palette
public 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
.