VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI.Panels Namespace / WebUiAnnotationListPanelJS type / get_CreateCollectionHeaderContentCallback Property
Syntax Remarks BrowserCompatibility SeeAlso
In This Topic
    get_CreateCollectionHeaderContentCallback Method
    In This Topic
    Gets 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 value; // Type: function
    value = instance.get_CreateCollectionHeaderContentCallback();
    
    
    function get_CreateCollectionHeaderContentCallback() : Function;
    

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