var instance = new Vintasoft.Imaging.UI.Panels.WebUiTextSearchPanelJS(settings, stateButton); var returnValue; // Type: any // Parameters var value; // Type: function returnValue = instance.set_CreatePageResultHeaderContentCallback(value);
function set_CreatePageResultHeaderContentCallback(
valueA function, which returns UI elements for the header of text search results on image page, OR "null".: Function
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.
) : any;
Parameters
- 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.