[This is preliminary documentation and is subject to change.]
The RadPdfApi Class is used to interface a web application with a RadPdfWebControl instance using client side JavaScript.
Syntax
RadPdfApi = function(controlID);Parameters
controlID
Type: String ID of the RadPdfWebControl 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 RadPdfWebControl should be used
Remarks
An instance of the RadPdfApi can be created to interface with a single RadPdfWebControl instance. When constructing an instance of the RadPdfApi class, the element ID of the RadPdfWebControl instance which with you wish to interface must be passed as a parameter.
Examples
var myRadPdfApi = new RadPdfApi("RadPdfWebControl1"); // where "RadPdfWebControl1" is the ID (ClientID) assigned to the RadPdfWebControl instance