var instance = new Vintasoft.Imaging.WebTextRegionJS(textContent, selectionRegions, subRegions, symbols, trasfromFromDipSpace); var value; // Type: object[] // Parameters var regExp; // Type: object value = instance.searchText(regExp);
function searchText(
regExpRegular expression.: object
) : object[];
Parameters
- regExp
- Regular expression.
Return Value
Array that contains the search results. Each object contains:
- region (object): WebTextRegionJS object, that include search result.
- context (string): The line text that contains found region.
- position (number): The position of the beginning of the found region in the line.