Click or drag to resize

PagesMovePages Method

This method is similar to the CopyPages method, but moves the pages (i.e. the original pages in the source document are deleted).

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void MovePages(
	PAGESTATE PageFlags,
	PAGESTATE Mask,
	Document Document,
	[OptionalAttribute] Object PageIndex
)

Parameters

PageFlags
Type: Kofax.OmniPageCSDK.IproPlusPAGESTATE
Mask
Type: Kofax.OmniPageCSDK.IproPlusPAGESTATE
Document
Type: Kofax.OmniPageCSDK.IproPlusDocument
PageIndex (Optional)
Type: SystemObject
Remarks

See the description of the CopyPages method for the semantics of the parameters.

If the active page is removed as the result of the operation, the following available page will become the new active page in the source document. If no page follows the removed active page, the previous page will become the active page after the removal. If the collection becomes empty, the ActivePageIndex property will be set to (-1).

Calling this method sets the Document object's Modified property to True in the source and destination documents if at least one page was successfully moved.

See Also