ImageFile.CreatePage Method |
Namespace: Kofax.OmniPageCSDK.IproPlus
public void CreatePage( ImageInfo Info, [OptionalAttribute] int Page, [OptionalAttribute] IMF_FORMAT DstFormat )
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.