SetRectangle Method of the FRRectangle Object
This method allows setting the location and size of the rectangle.
Syntax
HRESULT SetRectangle( int Left, int Top, int Width, int Height );
Parameters
- Left
- [in] This parameter contains the coordinate of the left border of the rectangle.
- Top
- [in] This parameter contains the coordinate of the top border of the rectangle.
- Width
- [in] This parameter contains the width of the rectangle.
- Height
- [in] This parameter contains the height of the rectangle.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
Remarks
You can also use the SetRectangleFromLTRB method to set the location and size of the rectangle. It allows you to specify all the coordinates, and width and height of the resulting rectangle will be calculated internally.
See also
03.07.2024 8:50:25