GetCharParamsEx Method of the Text Object

This method provides access to extended recognition information for the character at the specified position in the text. Using this method you can quickly access the main recognition variant for the character (the one which is used in the resulting text).

Syntax

Visual Basic .NET

Sub GetCharParamsEx( _
  Pos As Integer, _
  Params As CharParams _
  ParamsEx As RecognizedCharacterInfo _
)
    

C++

HRESULT GetCharParamsEx(
   int                       Pos,
   ICharParams*              Params
   IRecognizedCharacterInfo* ParamsEx
);
    

Parameters

Pos
[in] Specifies the index of the character inside the text. This index must be in the range from 0 to the length of the text (IText::Length). When the length of the text is passed into this method, this property refers to the parameters that would have received a character if it was inserted at the end of the text.
Params
[in] Refers to the CharParams object. This object properties are initialized with values corresponding to parameters of the character. A valid object should be passed as this parameter.
ParamsEx
[in] Refers to the RecognizedCharacterInfo object. This object properties are initialized with values corresponding to parameters of the main character variant. A valid object should be passed as this parameter.

Return values

This function has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

Text

CharParams

IText::GetCharParams

15.08.2023 13:19:30

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.