| Visual Basic (Declaration) | |
|---|---|
Overridable Function GetPalette() As Byte() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
virtual byte[] GetPalette() | |
| C++/CLI | |
|---|---|
virtual array<byte>^ GetPalette(); | |
Return Value
An array of bytes that contain the palette used by this page or a null (Nothing in Visual Basic) if the page does not contain a palette.For an example, refer to IOcrPage.
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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Copy Code