Method FindNext
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
FindNext(string, bool)
Finds words after the caret, the search going round to the start, and selects them.
public bool FindNext(string find, bool matchCase)
Parameters
Returns
- bool
Whether they were found.
FindNext(string, CadMTextFindOptions)
Finds the next match of words after the selection, or the caret, the search going round to the start, and selects it: Find and Replace's Find Next. A symbol or a stack counts as one place, which no words match.
public bool FindNext(string find, CadMTextFindOptions options)
Parameters
findstringThe words, or a wildcard pattern where UseWildcards is set.
optionsCadMTextFindOptionsHow they are matched.
Returns
- bool
Whether a match was found; false for no words, or a pattern that cannot be read.
Exceptions
- ArgumentNullException
Thrown when the options are null.