CreateRectangle Method of the Engine Object
This method creates the FRRectangle object representing the rectangle with the specified coordinates.
Syntax
C++
HRESULT CreateRectangle( int Left, int Top, int Right, int Bottom, IFRRectangle** Result );
C#
IFRRectangle CreateRectangle( int Left, int Top, int Right, int Bottom );
Visual Basic .NET
Function CreateRectangle( _ [Left As Integer = 0], _ [Top As Integer = 0], _ [Right As Integer = 0], _ [Bottom As Integer = 0] _ ) As IFRRectangle
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
17.09.2024 15:14:40