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
This website uses cookies to identify your session and other necessary functions. By using this website, you are agreeing to our Terms of Use and Privacy Policy (updated April 26 2021).
Learn About Cookies
Got it!