Click or drag to resize

refresh Method

Refresh the PdfWebControl instance.

Syntax
JavaScript
function refresh();

Parameters

None

Return Value

Type: Boolean

true if operation completed successfully; otherwise, false.

Remarks

This method is useful if the PdfWebControl object if resized by other client side JavaScript.

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