ImgFrame_RevertEdits¶
Revert the modifications done to an image frame.
ImgFrame_RevertEdits(imgDocRef;frameIdx) ➔ success
| → | imgDocRef |
Text | The image document reference |
| → | frameIdx |
Longint | The image frame index |
| ↩︎ | success |
Longint | Completion status: 1 on success, 0 otherwise. |
Clear all edits done to an image frame, and revert the frame to its initial state.
The image document is specified by imgDocRef, and the frame by frameIdx.