# ResultsDocumentBounds Class

> * Namespace: `UiPath.DocumentProcessing.Contracts.Results`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Definition

* Namespace: `UiPath.DocumentProcessing.Contracts.Results`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Description

A public class that represents the document boundaries for a reported extraction or classification result.

## Members

#### Constructors

* `ResultsDocumentBounds`(`int` `pageCount`, `int` `textLength`) - Initializes a new instance of the `ResultsDocumentBounds` class, setting `StartPage = 0`, `TextStartIndex = 0`, and `PageCount` and `TextLength` according to the provided input arguments.
* `ResultsDocumentBounds`(`int` `startPage`, `int` `pageCount`, `int` `textStartIndex`, `int` `textLength`) - Initializes a new instance of the `ResultsDocumentBounds` class, setting all properties according to the provided input arguments.

#### Properties

* `PageCount``int` - The number of pages within the document boundaries.
* `StartPage` `int` - The 0-based index of the first page within the document boundaries.
* `TextLength` `int` - The text length of the content found in the page range defined by `PageCount` and `StartPage`.
* `TextStartIndex` `int` - The text position where, from an entire file, the `StartPage` starts.
