PdfWebControlApi Constructor |
Initialize Class.
PdfWebControlApi = function(controlID);
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 usedAn 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.
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance