VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Pdf.UI.Panels Namespace / WebUiPdfRedactionMarkListPanelJS 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 marks collection in redaction marks list panel.
Syntax
var instance = new Vintasoft.Imaging.Pdf.UI.Panels.WebUiPdfRedactionMarkListPanelJS(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 marks collection in redaction marks list panel, OR "null".
Here is function prototype "function __createMarksCollectionHeaderContent(markCollection, index)", where "markCollection" parameter is an instance of WebPdfRedactionMarkCollectionJS type, index - zero-based index of redaction marks collection.
Important: "__createMarksCollectionHeaderContent" function must return not empty array of WebUiElementJS objects.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Remarks

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

Browser Compatibility
56+
45+
11
See Also