Click or drag to resize

ImageGetToMemory Method

This method returns the content of the image as a MemoryBitmap object.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void GetToMemory(
	IMAGEINDEX Image,
	ref IPRORECT Rect,
	out MemoryBitmap MemoryBitmap
)

Parameters

Image
Type: Kofax.OmniPageCSDK.IproPlusIMAGEINDEX
Rect
Type: Kofax.OmniPageCSDK.IproPlusIPRORECT
MemoryBitmap
Type: Kofax.OmniPageCSDK.IproPlusMemoryBitmap
Remarks

Image specifies the requested image. Available values are listed in the description of the SaveImage method of the Page object. The resulting MemoryBitmap object is automatically added to the MemoryBitmaps collection.

With the Rect parameter a rectangular area can be selected to store as a bitmap. If the left or top fields of the Rect parameter are unspecified, or less than zero, they will be treated as zero. If the width field of the Rect parameter is unspecified or less than 1, the operation stores up to the right edge of the selected page. If the height field of the Rect parameter is unspecified or less than 1, the operation stores up to the bottom edge of the selected page.

See Also