# TextRect
Represents text occurrence.

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**text** | **string** | Text of the occurrence. | [optional]
**page** | **int** | Page on which the occurrence is found. | [optional]
**rect** | [**\Aspose\PDF\Model\Rectangle**](Rectangle.md) | Rectangle of the occurrence. | [optional]
**horizontal_alignment** | [**\Aspose\PDF\Model\HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets a horizontal alignment of text fragment.  | [optional]
**vertical_alignment** | [**\Aspose\PDF\Model\VerticalAlignment**](VerticalAlignment.md) | Gets or sets a vertical alignment of text fragment.  | [optional]
**position** | [**\Aspose\PDF\Model\Position**](Position.md) | Gets or sets text position for text, represented with TextRect object. | [optional]
**baseline_position** | [**\Aspose\PDF\Model\Position**](Position.md) | Gets text position for text, represented with TextRect object. The YIndent of the Position structure represents baseline coordinate of the text fragment. | [optional]
**text_state** | [**\Aspose\PDF\Model\TextState**](TextState.md) | Gets or sets text state for the text that TextRect object represents. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) [[View Source]](../src/Aspose/PDF/Model/TextRect.php)

