Chinese Simplified (简体中文)

SetRect Method of the CharParams Object

This method allows you to set the rectangle for the symbol. It affects its Left, Top, Right, Bottom properties, and does not affect the CharacterRegion property. The rectangle is defined in pixel coordinates on image.

Syntax

C++

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

C#

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

Visual Basic .NET

Sub SetRect( _
  Left As Integer, _
  Top As Integer, _
  Right As Integer, _
  Bottom As Integer _
)
    

Parameters

Left
[in] Coordinate for the left border of the rectangle.
Top
[in] Coordinate for the top border of the rectangle.
Right
[in] Coordinate for the right border of the rectangle.
Bottom
[in] Coordinate for 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

CharParams

17.09.2024 15:14:41

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.