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, read-only | Returns the Engine object. |
| Bottom | int, read-only | Returns the coordinate of the bottom border of the rectangle. |
| Height | int | Specifies the height of the rectangle. |
| Left | int | Specifies the coordinate of the left border of the rectangle. |
| Right | int, read-only | Returns the coordinate of the right border of the rectangle. |
| Top | int | Specifies the coordinate of the top border of the rectangle. |
| Width | int | Specifies the width of the rectangle. |
Methods
| Name | Description |
|---|---|
| CopyFrom | Initializes properties of the current object with values of similar properties of another object. |
| SetRectangle | 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 | Sets the location and size of the rectangle. This method receives the left, right, top and bottom coordinates of the rectangle. |
Related objects

Output parameter
This object is the output parameter of the following methods:
- CreateRectangle method of the Engine object
- GetSelectedCells method of the ZoomViewer object
- GetSelectedCells method of the ImageViewer object
Input parameter
This object is passed as an input parameter to the following methods:
- SetSelectedCells, ShowDocumentArea methods of the ZoomViewer object
- OnTableCellsSelected, OnToolAddBlock, OnToolEraseRect, OnVisibleDocumentAreaChange methods of the IZoomViewerEvents interface
- SetSelectedCells, ShowDocumentArea methods of the ImageViewer object
- OnTableCellsSelected, OnToolAddBlock, OnToolEraseRect, OnVisibleDocumentAreaChange, OnCropImages methods of the IImageViewerEvents interface
- ShowDocumentArea method of the TextEditor object
- OnSymbolSelected method of the ITextEditorEvents interface
- OnSymbolSelected method of ITextValidatorEvents interface
Related Visual Components

See also
9/17/2024 3:14:41 PM