Click or drag to resize

ImageFileSaveArea Method

This method saves a part of the page image to a new file using an image format specified by the Format parameter.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void SaveArea(
	string FileName,
	IMF_FORMAT Format,
	int Page,
	ref IPRORECT Rect
)

Parameters

FileName
Type: SystemString
Format
Type: Kofax.OmniPageCSDK.IproPlusIMF_FORMAT
Page
Type: SystemInt32
Rect
Type: Kofax.OmniPageCSDK.IproPlusIPRORECT
Remarks

For details about the available Format parameter values, see the Format property documentation. With the Page and Rect parameters the page and a rectangular area on the page can be specified. To save the whole image area, pass NULL (or Nothing) for the Rect parameter.

If the file specified by the FileName parameter already exists, it will be overwritten.

If the current image format does not match the requested output format specified by the Format parameter, automatic conversion is performed when creating the output file. An example of such a conversion is if the current image is a color image and only a Black and White enabled output format is specified. In this case, the exported pages will be converted to Black and White.

See Also