> ## 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.

# FRRectangle Object (IFRRectangle Interface)

This object represents the location and size of a rectangle. It is used in a number of ABBYY FineReader Engine methods and properties as input or output parameter.

## Properties

| Name        | Type                                                                                                                                                                                                          | Description                                                   |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| Application | [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface), [read-only](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties) | Returns the Engine object.                                    |
| Bottom      | [int](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties), read-only                                                                                             | Returns the coordinate of the bottom border of the rectangle. |
| Height      | [int](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)                                                                                                        | Specifies the height of the rectangle.                        |
| Left        | [int](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)                                                                                                        | Specifies the coordinate of the left border of the rectangle. |
| Right       | [int](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties), read-only                                                                                             | Returns the coordinate of the right border of the rectangle.  |
| Top         | [int](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)                                                                                                        | Specifies the coordinate of the top border of the rectangle.  |
| Width       | [int](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)                                                                                                        | Specifies the width of the rectangle.                         |

## Methods

| Name                                                                                                                                | Description                                                                                                                                |
| ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| [CopyFrom](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/copyfrom-method)               | Initializes properties of the current object with values of similar properties of another object.                                          |
| [SetRectangle](/fine-reader/engine/api-reference/supplementary-objects-and-methods/frrectangle/setrectangle-method)                 | Sets the location and size of the rectangle. This method receives the left and top coordinates of the rectangle, and its width and height. |
| [SetRectangleFromLTRB](/fine-reader/engine/api-reference/supplementary-objects-and-methods/frrectangle/setrectanglefromltrb-method) | Sets the location and size of the rectangle. This method receives the left, right, top and bottom coordinates of the rectangle.            |

## Related objects

<img src="https://mintcdn.com/abbyy/lsETHFYUFiongXSm/images/fine-reader/engine/frrectangle.gif?s=acc175c168cca917c50207367c394336" alt="FRRectangle" width="180" height="62" data-path="images/fine-reader/engine/frrectangle.gif" />[](/fine-reader/engine/api-reference/supplementary-objects-and-methods/region#boundingrectangle)[](/fine-reader/engine/api-reference/supplementary-objects-and-methods/region)

[Object Diagram](/fine-reader/engine/api-reference/object-diagram)

## Output parameter

This object is the output parameter of the following methods:

* [CreateRectangle](/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createrectangle-method) method of the [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface) object
* For Visual Components:
  * [GetSelectedCells](/fine-reader/engine/visual-components-reference/zoomviewer/getselectedcells-method) method of the [ZoomViewer](/fine-reader/engine/visual-components-reference/zoomviewer) object
  * [GetSelectedCells](/fine-reader/engine/visual-components-reference/imageviewer/getselectedcells-method) method of the [ImageViewer](/fine-reader/engine/visual-components-reference/imageviewer) object

## Input parameter

This object is passed as an input parameter to the following methods:

* [SetSelectedCells](/fine-reader/engine/visual-components-reference/zoomviewer/setselectedcells-method), [ShowDocumentArea](/fine-reader/engine/visual-components-reference/zoomviewer/showdocumentarea-method) methods of the [ZoomViewer](/fine-reader/engine/visual-components-reference/zoomviewer) object
* [OnTableCellsSelected](/fine-reader/engine/visual-components-reference/izoomviewerevents/ontablecellsselected-method), [OnToolAddBlock](/fine-reader/engine/visual-components-reference/izoomviewerevents/ontooladdblock-method), [OnToolEraseRect](/fine-reader/engine/visual-components-reference/izoomviewerevents/ontooleraserect-method), [OnVisibleDocumentAreaChange](/fine-reader/engine/visual-components-reference/izoomviewerevents/onvisibledocumentareachange-method) methods of the [IZoomViewerEvents](/fine-reader/engine/visual-components-reference/izoomviewerevents) interface
* [SetSelectedCells](/fine-reader/engine/visual-components-reference/imageviewer/setselectedcells-method), [ShowDocumentArea](/fine-reader/engine/visual-components-reference/imageviewer/showdocumentarea-method) methods of the [ImageViewer](/fine-reader/engine/visual-components-reference/imageviewer) object
* [OnTableCellsSelected](/fine-reader/engine/visual-components-reference/iimageviewerevents/ontablecellsselected-method), [OnToolAddBlock](/fine-reader/engine/visual-components-reference/iimageviewerevents/ontooladdblock-method), [OnToolEraseRect](/fine-reader/engine/visual-components-reference/iimageviewerevents/ontooleraserect-method), [OnVisibleDocumentAreaChange](/fine-reader/engine/visual-components-reference/iimageviewerevents/onvisibledocumentareachange-method), [OnCropImages](/fine-reader/engine/visual-components-reference/iimageviewerevents/oncropimages-method) methods of the [IImageViewerEvents](/fine-reader/engine/visual-components-reference/iimageviewerevents) interface
* [ShowDocumentArea](/fine-reader/engine/visual-components-reference/texteditor/showdocumentarea-method) method of the [TextEditor](/fine-reader/engine/visual-components-reference/texteditor) object
* [OnSymbolSelected](/fine-reader/engine/visual-components-reference/itexteditorevents/onsymbolselected-method) method of the [ITextEditorEvents](/fine-reader/engine/visual-components-reference/itexteditorevents) interface
* [OnSymbolSelected](/fine-reader/engine/visual-components-reference/itextvalidatorevents/onsymbolselected-method) method of [ITextValidatorEvents](/fine-reader/engine/visual-components-reference/itextvalidatorevents) interface

## Related Visual Components

<img src="https://mintcdn.com/abbyy/lsETHFYUFiongXSm/images/fine-reader/engine/frrectangle_vc.gif?s=81b764a1db38c436c15001cf8eebe27d" alt="FRRectangle_VC" width="252" height="138" data-path="images/fine-reader/engine/frrectangle_vc.gif" />[](/fine-reader/engine/visual-components-reference/imageviewer#zoomrect)[](/fine-reader/engine/visual-components-reference/imageviewer#visibledocumentarea)[](/fine-reader/engine/visual-components-reference/supplementary-objects/validatorerror#errorrectangle)[](/fine-reader/engine/visual-components-reference/supplementary-objects/validatorerror)[](/fine-reader/engine/visual-components-reference/texteditor)[](/fine-reader/engine/visual-components-reference/zoomviewer)[](/fine-reader/engine/visual-components-reference/imageviewer)

## See also

[Working with Properties](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
