Click or drag to resize

ImageFileRotate Method

This method rotates one or more pages of the image file according to the Rotation parameter.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void Rotate(
	IMG_ROTATE Rotation,
	[OptionalAttribute] int Page
)

Parameters

Rotation
Type: Kofax.OmniPageCSDK.IproPlusIMG_ROTATE
Page (Optional)
Type: SystemInt32
Remarks

The available values of the Rotation parameter are documented in the description of the Rotation property of the Document object.

If the Rotation parameter is ROT_NO or ROT_AUTO, no rotation is performed. The Page is an optional long parameter. If the Page optional parameter is unspecified or -1 all pages will be processed. Otherwise only the one specified by the Page index will be processed.

This method can only be used with multi-page image TIFF files. A further requirement is that the pages 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.

See Also