Skip to main content
This method splits each of the specified pages of the document into several pages. This method is useful if the page is a double-page spread of a book, or the page contains images of several business cards. The method provides information on how the pages have been split.
In Linux and Windows, the page splitting operation cannot be performed in parallel processes.

Syntax

C++

HRESULT SplitPages(
  IIntsCollection*          PageIndices,
  PageSplitTypeEnum         PageSplittingType,
  IObjectsExtractionParams* ExtractionParams,
  ISplitRegions**           SplitRegions
);

C#

ISplitRegions SplitPages(
  IIntsCollection          PageIndices,
  PageSplitTypeEnum        PageSplittingType,
  IObjectsExtractionParams ExtractionParams
);

Visual Basic .NET

Function SplitPages( _
  PageIndices As IIntsCollection, _
  PageSplittingType As PageSplitTypeEnum, _
  ExtractionParams As IObjectsExtractionParams _
) As ISplitRegions

Parameters

PageIndices [in] Refers to the IntsCollection object that contains the indices of pages to be split. PageSplittingType [in] This variable specifies the mode of splitting the page. See the PageSplitTypeEnum description for the supported modes. ExtractionParams [in] Refers to the ObjectsExtractionParams object that stores parameters of objects extraction. This parameter may be 0. In this case, the objects are extracted with default parameters, or, if a profile has been loaded, the parameters set by this profile are used. SplitRegions [out, retval] A pointer to the ISplitRegions* pointer variable that receives the interface pointer of the SplitRegions object. This object contains information on how the pages have been split.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

FRDocument