Click or drag to resize

restorePages Method

Restore all deleted and moved pages in the document being viewed in the PdfWebControl instance.

Syntax
JavaScript
function restorePages();

Parameters

None

Return Value

Type: Boolean

true if operation completed successfully; otherwise, false.

Examples
JavaScript
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance
myApi.restorePages(); //restore any deleted or moved pages
See Also