Click or drag to resize

ImageFileAppendPage Method

This method appends one or more pages to the image file from the image file specified by the SrcImage parameter.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void AppendPage(
	ImageFile SrcImage,
	[OptionalAttribute] int SrcPage,
	[OptionalAttribute] IMF_FORMAT DstFormat
)

Parameters

SrcImage
Type: Kofax.OmniPageCSDK.IproPlusImageFile
SrcPage (Optional)
Type: SystemInt32
DstFormat (Optional)
Type: Kofax.OmniPageCSDK.IproPlusIMF_FORMAT
Remarks

The SrcPage is an optional numeric parameter specifying which page or pages are to be added. If it is unspecified or -1 all source pages are appended. If it is specified, the single page defined by the SrcPage index is appended. The DstFormat is an optional parameter of type IMF_FORMAT which describes the compression method of the new pages. The available DstFormat values are detailed in the table below. If DstFormat is unspecified and the source and destination image formats match, the compression method used is that of the source image. If the formats do not match, the default compression method is used as detailed in the table below.

The AppendPage method is available for every multi-page enabled image format and is not limited to compatible TIFF files as is the case with some of the methods described above.

The table provides information on the available compressions methods for each base format of the destination image:

Base format Default compression Available compression methods
TIFF FF_TIFLZW FF_TIFNO, FF_TIFPB, FF_TIFHU, FF_TIFG31, FF_TIFG32, FF_TIFG4, FF_TIFLZW, FF_TIFJPGNEW
DCX FF_DCX FF_DCX
MAX FF_MAX_GOOD FF_MAX_LOSSLESS, FF_MAX_GOOD, FF_MAX_MIN
PDF FF_PDF_GOOD FF_PDF_MIN, FF_PDF_GOOD, FF_PDF_LOSSLESS, FF_PDF_MRC_MIN, FF_PDF_MRC_GOOD, FF_PDF_MRC_LOSSLESS
JBIG2 FF_JBIG2_LOSSLESS FF_JBIG2_LOSSLESS, FF_JBIG2_LOSSY

See Also