Chinese Simplified (简体中文)

SetCharParams Method of the Paragraph Object

This method sets parameters for a group of characters.

Syntax

HRESULT SetCharParams(
  int          Position,
  int          Count,
  ICharParams* Params,
  int          CharFlagMask,
  int          StyleFlagMask
);
    

Parameters

Position
[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 paragraph.
Count
[in] A number of characters for which the parameters are set. It should be no less than 0 and meet the following requirement: position + count <= paragraph 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.
CharFlagMask
[in] This variable may contain any OR combination of the CFL_prefixed flags. It specifies what character parameters are to be copied from the params object.
StyleFlagMask
[in] This variable may contain any OR combination of the StyleParamsEnum constants. It specifies what style 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 FineReader Engine functions.

See also

Paragraph

CFL_prefixed flags

CharParams

03.07.2024 8:50:25

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.