showProperties Method |
Shows this objects properties.
function showProperties();
None
Type: Boolean
true if operation completed successfully; otherwise, false.Not all properties are supported by all objects.
//declare event handler function (which accepts an object of type ObjectAddedEventArgs as an argument) function objectSelectedHandler(evt) { //show properties evt.obj.showProperties(); } //get API class var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance //attach event handler to objectSelected event myApi.addEventListener("objectSelected", objectSelectedHandler);