In This Topic
Starts the asynchronous text search.
Syntax
var instance = new Vintasoft.Imaging.UI.VisualTools.WebTextSelectionToolJS();
var value; // Type: any
// Parameters
var regExp; // Type: object
var searchMode; // Type: WebTextSearchModeEnumJS
value = instance.searchText(regExp, searchMode);
function searchText(
: object,
: WebTextSearchModeEnumJS
) : any;
Parameters
- regExp
- Regular expression that defines the searching text.
- searchMode
- An instance of WebTextSearchModeEnumJS class that indicates where text must be searched (on focused image or in the whole images).
Exceptions
Exception | Description |
| Thrown if arguments have wrong types. |
| Thrown if search process is started already. |
Browser Compatibility
See Also