Click or drag to resize

ImageFilesCreateImageFromBitmap Method

This method creates an ImageFile object from an existing MemoryBitmap object and adds it to the collection.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void CreateImageFromBitmap(
	string FileName,
	IMF_FORMAT Format,
	MemoryBitmap Bitmap,
	out ImageFile NewImage
)

Parameters

FileName
Type: SystemString
Format
Type: Kofax.OmniPageCSDK.IproPlusIMF_FORMAT
Bitmap
Type: Kofax.OmniPageCSDK.IproPlusMemoryBitmap
NewImage
Type: Kofax.OmniPageCSDK.IproPlusImageFile
Remarks

This method also returns a reference to the ImageFile object created. The Format parameter specifies the image type as described at the Format property description of the ImageFile object. If a file with the specified FileName already exists, it will be overwritten.

See Also