Click or drag to resize

ImageFileCreatePageFromBitmap Method

This method creates an empty page using the memory bitmap specified by the Bitmap parameter.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void CreatePageFromBitmap(
	MemoryBitmap Bitmap,
	[OptionalAttribute] int Page,
	[OptionalAttribute] IMF_FORMAT DstFormat
)

Parameters

Bitmap
Type: Kofax.OmniPageCSDK.IproPlusMemoryBitmap
Page (Optional)
Type: SystemInt32
DstFormat (Optional)
Type: Kofax.OmniPageCSDK.IproPlusIMF_FORMAT
Remarks

The Page is an optional numeric parameter specifying the insertion position of the new page. If it is unspecified or -1 the new page is appended to the end of the image file.

The DstFormat is an optional parameter of type IMF_FORMAT, which describes the compression method of the new page. The available values for this parameter are described in the AppendPage method. If DstFormat is unspecified, the default compression method depends on the current image file format. If the new page is about to be inserted into an existing image file, both the image file format and the DstFormat parameter have to be one of the supported TIFF formats, otherwise a trappable error occurs.

See Also