CreateRectangle Method of the Engine Object
This method creates the FRRectangle object representing the rectangle with the specified coordinates.
Syntax
HRESULT CreateRectangle( int Left, int Top, int Right, int Bottom, IFRRectangle** Result );
Parameters
- Left
- [in] This parameter contains the coordinate of the left border of the rectangle. It is optional, and if you do not specify it, the left coordinate will be equal to 0.
- Top
- [in] This parameter contains the coordinate of the top border of the rectangle. It is optional, and if you do not specify it, the top coordinate will be equal to 0.
- Right
- [in] This parameter contains the coordinate of the right border of the rectangle. It is optional, and if you do not specify it, the right coordinate will be equal to 0.
- Bottom
- [in] This parameter contains the coordinate of the bottom border of the rectangle. It is optional, and if you do not specify it, the bottom coordinate will be equal to 0.
- Result
- [out, retval] A pointer to IFRRectangle* pointer variable that receives the interface pointer of the resulting FRRectangle object. Must not be NULL.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
03.07.2024 8:50:10