VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Pdf.UI.Panels Namespace / WebUiPdfInteractiveFormFieldsPanelJS type / set_CreatePageFieldsHeaderContentCallback Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
set_CreatePageFieldsHeaderContentCallback Method
In This Topic
Sets a function, which returns UI elements for the header of page interactive fields collection.
Syntax
var instance = new Vintasoft.Imaging.Pdf.UI.Panels.WebUiPdfInteractiveFormFieldsPanelJS(settings, stateButton);

var returnValue; // Type: any

// Parameters
var value; // Type: function

returnValue = instance.set_CreatePageFieldsHeaderContentCallback(value);

Parameters

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

If property value is "null", the page interactive fields collection header contains label "Page {index}", where index - index of image in image collection.

Browser Compatibility
56+
45+
11
See Also