public byte[] GetPalette()
Function GetPalette() As Byte()
@property (nonatomic, strong, readonly, nullable) NSArray<LTRasterColor *> *palette
public Byte[] getPalette()
array<byte>^ GetPalette();
An array of bytes that contain the palette used by this page or a null (Nothing in VB) if the page does not contain a palette.
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
.
For an example, refer to IOcrPage.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document