> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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>
  In Linux and Windows, the page splitting operation cannot be performed in parallel processes.
</Note>

## Syntax

### C++

```cpp theme={null}
HRESULT SplitPages(
  IIntsCollection*          PageIndices,
  PageSplitTypeEnum         PageSplittingType,
  IObjectsExtractionParams* ExtractionParams,
  ISplitRegions**           SplitRegions
);
```

### C\#

```csharp theme={null}
ISplitRegions SplitPages(
  IIntsCollection          PageIndices,
  PageSplitTypeEnum        PageSplittingType,
  IObjectsExtractionParams ExtractionParams
);
```

### Visual Basic .NET

```vb theme={null}
Function SplitPages( _
  PageIndices As IIntsCollection, _
  PageSplittingType As PageSplitTypeEnum, _
  ExtractionParams As IObjectsExtractionParams _
) As ISplitRegions
```

## Parameters

PageIndices

\[in] Refers to the [IntsCollection](/fine-reader/engine/api-reference/supplementary-objects-and-methods/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](/fine-reader/engine/api-reference/enumerations/pagesplittypeenum) description for the supported modes.

ExtractionParams

\[in] Refers to the [ObjectsExtractionParams](/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/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](/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles) 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](/fine-reader/engine/api-reference/supplementary-objects-and-methods/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](/fine-reader/engine/api-reference/return-codes).

## See also

[FRDocument](/fine-reader/engine/api-reference/document-related-objects/frdocument)
