Click or drag to resize

undo Method

Undo the last action taken by the user in the loaded document.

Syntax
JavaScript
function undo();

Parameters

None

Return Value

Type: Boolean

true if operation completed successfully; otherwise, false.

Remarks

This method will undo the last user action, if possible.

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