Click or drag to resize

ImagePalette Method

This property returns a variant containing a SAFEARRAY of Bytes for C++ or a byte array for Visual Basic programmers.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public Object Palette(
	[OptionalAttribute] IMAGEINDEX Image
)

Parameters

Image (Optional)
Type: Kofax.OmniPageCSDK.IproPlusIMAGEINDEX

Return Value

Type: Object
Remarks

The array is 768 bytes long (256 color triplets, in RGB order). If the image does not have a palette, an empty variant or array is returned. If the page is not an 8-bit image, this property returns an empty variant.

See Also