SetRectangleFromLTRB Method of the FRRectangle Object

This method allows setting the location and size of the rectangle. This method differs from the SetRectangle method, because to this method you pass all coordinates of the rectangle, and width and height are to be calculated from them internally.

Syntax

C++

HRESULT SetRectangleFromLTRB(
  int Left,
  int Top,
  int Right,
  int Bottom
);
    

C#

void SetRectangleFromLTRB(
  int Left,
  int Top,
  int Right,
  int Bottom
);
    

Visual Basic .NET

Sub SetRectangleFromLTRB( _
  Left As Integer, _
  Top As Integer, _
  Right As Integer, _
  Bottom 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.
Right
[in] This parameter contains the coordinate of the right border of the rectangle.
Bottom
[in] This parameter contains the coordinate of the bottom border of the rectangle.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

FRRectangle

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.