Remove Method of the Paragraph Object

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

Syntax

C++

HRESULT Remove(
  int FromPos,
  int ToPos
);
    

C#

void Remove(
  int FromPos,
  int ToPos
);
    

Visual Basic .NET

Sub Remove( _
  FromPos As Integer, _
  ToPos As Integer _
)
    

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

9/17/2024 3:14:40 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.