Remove Method of the Paragraph Object

This method deletes a range from the text of the paragraph.

Syntax

HRESULT Remove(
  int FromPos,
  int ToPos
);
    

Parameters

FromPos
[in] Position where the range is started. Must be not less than 0 and not greater than the length of paragraph.
ToPos
[in] Position where the range is ended. Must be not less than variable fromPos and 0 and not greater than the length of paragraph. By default, this variable is set to -1. If this variable is not set or is set to -1 one character will be removed only.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

Paragraph

CharParams

7/3/2024 8:50:25 AM

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.