SplitPages Method of the FRDocument Object

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.

Note: 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

11/7/2025 12:48:30 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.