ImgDoc_RevertEdits

Revert the modifications done to an image document.
ImgDoc_RevertEdits(imgDocRef) ➔ success
imgDocRef Text The image document reference.
↩︎ success Longint Completion status: 1 on success, 0 otherwise.

Clear all edits done to an image document at either the document or the frame level, and revert the document to its initial state. Similar to the Revert option available in most document editing applications.

The image document is specified by imgDocRef.