Click or drag to resize

setCustomData Method

Sets the custom data for the current document in the PdfWebControl instance.

Syntax
JavaScript
function setCustomData(value);

Parameters

value

Type: String

a string representing the desired custom data for this document.

Return Value

Type: Boolean

true if operation completed successfully; otherwise, false.

Examples
JavaScript
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance
myApi.setCustomData("new data");
See Also