VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.Panels Namespace / WebUiTextSearchPanelJS type / get_CreatePageResultHeaderContentCallback Property
Syntax Remarks BrowserCompatibility SeeAlso
In This Topic
    get_CreatePageResultHeaderContentCallback Method
    In This Topic
    Gets a function, which returns UI elements for the header of text search results on image page.
    Syntax
    var instance = new Vintasoft.Imaging.UI.Panels.WebUiTextSearchPanelJS(settings, stateButton);
    
    var value; // Type: function
    value = instance.get_CreatePageResultHeaderContentCallback();
    
    
    function get_CreatePageResultHeaderContentCallback() : Function;
    

    Return Value

    A function, which returns UI elements for the header of text search results on image page, OR "null".
    Here is function prototype "function __createSearchResultHeaderContent(image, imageIndex, searchResults)", where "image" - WebImageJS object, "imageIndex" - zero-based index of "image" in image viewer collection, "searchResults" - array of search results. Important: "__createSearchResultHeaderContent" function must return not empty array of WebUiElementJS objects.
    Remarks

    If property value is "null", the header of text search results contains label "Page {imageIndex}", where imageIndex - index of image in image viewer collection.

    Browser Compatibility
    56+
    45+
    11
    See Also