VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI.Panels Namespace / WebUiAnnotationListPanelJS type / get_CreateAnnotationContentCallback Property
Syntax Remarks BrowserCompatibility SeeAlso
In This Topic
    get_CreateAnnotationContentCallback Method
    In This Topic
    Gets a function, which returns UI elements for the annotation list record.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.Panels.WebUiAnnotationListPanelJS(settings, stateButton);
    
    var value; // Type: function
    value = instance.get_CreateAnnotationContentCallback();
    
    
    function get_CreateAnnotationContentCallback() : Function;
    

    Return Value

    A function, which returns UI elements for the annotation list record, OR "null".
    Here is function prototype "function __createAnnotationContent(annotation, annotationCollection)", where "annotation" parameter is an instance of WebAnnotationViewJS type, "annotationCollection" parameter is an instance of WebAnnotationViewCollectionJS type. Important: "__createAnnotationContent" function must return not empty array of WebUiElementJS objects.
    Remarks

    If property value is "null", the annotation list record contains label with annotation type.

    Browser Compatibility
    56+
    45+
    11
    See Also