SetRectangle Method of the FRRectangle Object
This method allows setting the location and size of the rectangle.
Syntax
C++
HRESULT SetRectangle( int Left, int Top, int Width, int Height );
C#
void SetRectangle( int Left, int Top, int Width, int Height );
Visual Basic .NET
Sub SetRectangle( _ Left As Integer, _ Top As Integer, _ Width As Integer, _ Height As Integer _ )
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
9/17/2024 3:14:40 PM