Click or drag to resize

showProperties Method

Shows this objects properties.

Syntax
JavaScript
function showProperties();

Parameters

None

Return Value

Type: Boolean

true if operation completed successfully; otherwise, false.

Remarks

Not all properties are supported by all objects.

Examples
The following example uses the ObjectEventArgs Class to handle the "objectAdded" event of the PdfWebControlApi Class.
JavaScript
//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);
See Also

Other Resources