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

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

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

03.07.2024 8:50:25

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.