Click or drag to resize

PdfWebControlApi Constructor

Initialize Class.

Syntax
JavaScript
PdfWebControlApi = function(controlID);

Parameters

controlID

Type: String

ID of the PdfWebControl instance which with you wish to interface via this object. In ASP.NET, the ID assigned to an object in the .ASPX file may not be the element's ID in the final HTML. To ensure that the ID is correct, the ClientID property of the PdfWebControl should be used

Remarks

An instance of the PdfWebControlApi can be created to interface with a single PdfWebControl instance. When constructing an instance of the PdfWebControlApi class, the element ID of the PdfWebControl instance which with you wish to interface must be passed as a parameter.

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

Other Resources