Good day.
I put some image on document and resize it using mouse.
How can I set original image's size ?
How to set 100% scale (original size) for Image in RVEditor?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Assuming that this image is at the position of caret:
Code: Select all
rve.TopLevelEditor.BeginUndoGroup(rvutModifyItem);
rve.TopLevelEditor.SetUndoGroupMode(True);
rve.SetCurrentItemExtraIntProperty(rvepImageHeight, 0, True);
rve.SetCurrentItemExtraIntProperty(rvepImageWidth, 0, True);
rve.TopLevelEditor.SetUndoGroupMode(False);