VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI.Panels Namespace / WebUiAnnotationListPanelJS type / set_CreateCollectionHeaderContentCallback Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
set_CreateCollectionHeaderContentCallback Method
In This Topic
Sets a function, which returns UI elements for the header of annotation collection in annotation list panel.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.Panels.WebUiAnnotationListPanelJS(settings, stateButton);

var returnValue; // Type: any

// Parameters
var value; // Type: function

returnValue = instance.set_CreateCollectionHeaderContentCallback(value);

Parameters

value
A function, which returns UI elements for the header of annotation collection in annotation list panel, OR "null".
Here is function prototype "function __createAnnotationCollectionHeaderContent(annotationCollection, index)", where "annotationCollection" parameter is an instance of WebAnnotationViewCollectionJS type, index - zero-based index of annotation collection. Important: "__createAnnotationCollectionHeaderContent" function must return not empty array of WebUiElementJS objects.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Remarks

If property value is "null", the annotation collection header contains label "Page {index}", where index - index of annotation collection.

Browser Compatibility
56+
45+
11
See Also