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.
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.