Skip to main content
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