VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebTextSelectionToolJS type / searchText Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    searchText Method
    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(
    regExp
    Regular expression that defines the searching text.
    : object,
    searchMode
    An instance of WebTextSearchModeEnumJS class that indicates where text must be searched (on focused image or in the whole images).
    : 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
    ExceptionDescription
    Thrown if arguments have wrong types.
    Thrown if search process is started already.
    Browser Compatibility
    56+
    45+
    11
    See Also