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

FRRectangle

7/3/2024 8:50:25 AM

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.