Click or drag to resize

Pages.MovePages 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.IproPlus.PAGESTATE
Mask
Type: Kofax.OmniPageCSDK.IproPlus.PAGESTATE
Document
Type: Kofax.OmniPageCSDK.IproPlus.Document
PageIndex (Optional)
Type: System.Object
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