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
9/17/2024 3:14:41 PM