How to set 100% scale (original size) for Image in RVEditor?

General TRichView support forum. Please post your questions here
Post Reply
maxic2
Posts: 1
Joined: Thu Mar 23, 2006 1:23 pm

How to set 100% scale (original size) for Image in RVEditor?

Post by maxic2 »

Good day.
I put some image on document and resize it using mouse.
How can I set original image's size ?
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

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);
Post Reply