SetCharParams Method of the Text Object

This method sets parameters for a group of characters.

Syntax

Visual Basic .NET

Sub SetCharParams( _
  Pos As Integer, _
  Count As Integer, _
  Params As CharParams, _
  Mask As Integer _
)
    

C++

HRESULT SetCharParams(
  int          Pos,
  int          Count,
  ICharParams* Params,
  int          Mask
);
    

Parameters

Pos
[in] Position of character in paragraph that starts the group of characters for which the parameters are set. It should be in the range from 0 to the length of the text.
Count
[in] A number of characters for which the parameters are set. It should be no less than 0 and meet the following requirement: Pos + Count <= text length + 1
Params
[in] This variable refers to the CharParams object that contains the new parameters for the group of characters. It must refer to a valid object.
Mask
[in] This variable may contain any OR combination of the CharParamsFlags flags. It specifies what parameters are to be copied from the Params object.

Return values

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

See also

Text

CharParamsFlags

CharParams

IText::GetCharParams

8/15/2023 1:19:30 PM

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.