ImageFile.CreatePageFromBitmap Method |
Namespace: Kofax.OmniPageCSDK.IproPlus
public void CreatePageFromBitmap( MemoryBitmap Bitmap, [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.
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.