GetCharParams Method of the Paragraph Object

This method provides access to parameters of a single character. A character is indexed with its position inside the text of paragraph. This index must be in the range from zero to the length of paragraph. The length of paragraph may be obtained from the IParagraph::Length property. When the length of paragraph 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 paragraph.

Syntax

HRESULT GetCharParams(
   int          Position,
   ICharParams* Result
);
    

Parameters

Position
[in] This variable contains the index of the character inside the paragraph.
Result
[in] This variable refers to a CharParams object which receives 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 FineReader Engine functions.

See also

Paragraph

CharParams

03.07.2024 8:50:10

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.