FromParagraph[in] Variable specifying the index of the paragraph for the starting point of the range to be removed.FromPos[in] Variable specifying the index of character in the starting paragraph, for the starting point of the range to be removed.ToParagraph[in] Variable specifying the index of the paragraph for the ending point of the range to be removed.ToPos[in] Variable specifying the index of character in the ending paragraph, for the ending point of the range to be removed. This character itself is not removed from the text.
The ending position for the text to be removed should be farther in the text than the starting one; otherwise, an error code is returned. The symbol in (FromParagraph;FromPos) position is removed from the text, while the character in (ToParagraph;ToPos) position is not removed.