GetCharParams Method of the Text Object

This method provides access to the parameters of the specified character in the text.

Syntax

Visual Basic .NET

Sub GetCharParams( _
  Pos As Integer, _
  Params As CharParams _
)
    

C++

HRESULT GetCharParams(
   int          Pos,
   ICharParams* Params
);
    

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. The length of the text may be obtained from the IText::Length property. 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.

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::SetCharParams

IText::GetCharParamsEx

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.