Method ReplaceText
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
ReplaceText(int, int, string)
Puts words in the place of some places, in the look of the first of them, as one undo step, the caret after the words: a suggestion of the spell check picked from the menu. AutoCAPS does not change them.
public void ReplaceText(int start, int length, string text)
Parameters
startintThe first place.
lengthintHow many places.
textstringThe words; a line feed is a new paragraph; null is nothing.
Exceptions
- ArgumentOutOfRangeException
Thrown when the places are not all among the words'.