Click or drag to resize

ImageFileCreatePage Method

This method creates an empty page based on the information specified by the Info parameter.

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

Parameters

Info
Type: Kofax.OmniPageCSDK.IproPlusImageInfo
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.

This method can only be used with multi-page image TIFF files. A further requirement is that pages already in the multi-page TIFF file must be stored in one-strip format and the StripBytesCount TIFF tag must exist in the page header. TIFF image files created by the Capture SDK fulfill this requirement.

The DstFormat is an optional parameter of type IMF_FORMAT, which describes the compression method of the new page. It can be one of the following values: FF_TIFNO, FF_TIFPB, FF_TIFHU, FF_TIFG31, FF_TIFG32, FF_TIFG4, FF_TIFLZW and FF_TIFJPGNEW. If it unspecified, FF_TIFLZW is used.

See Also