VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Pdf.UI.Panels Namespace / WebUiPdfRedactionMarkListPanelJS type / set_CreateRedactionMarkContentCallback Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
set_CreateRedactionMarkContentCallback Method
In This Topic
Sets a function, which returns UI elements for the redaction marks list record.
Syntax
var instance = new Vintasoft.Imaging.Pdf.UI.Panels.WebUiPdfRedactionMarkListPanelJS(settings, stateButton);

var returnValue; // Type: any

// Parameters
var value; // Type: function

returnValue = instance.set_CreateRedactionMarkContentCallback(value);

Parameters

value
A function, which returns UI elements for the redaction marks list record, OR "null".
Here is function prototype "function __createRedactionMarkContent(mark, markCollection)", where "mark" parameter is an instance of WebPdfRedactionMarkJS type, "markCollection" parameter is an instance of WebPdfRedactionMarkCollectionJS type.
Important: "__createRedactionMarkContent" function must return not empty array of WebUiElementJS objects.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Remarks

If property value is "null", the redaction marks list record contains label with mark type.

Browser Compatibility
56+
45+
11
See Also