Answered
Resize image without disturbing undo-redo
Hi,
I want to resize the image if its larger than a max-size. For this in the listener of "StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGED" I've modified the graphics's width and height. But then undoManager doen't undo operations performed before this image resize.
If I resize image using editManager.modifyInlineGraphic() then in undo-stack an extra operation will be added.
Any suggestions for resizing image on load so that undo-redo doesn't disturb.
Thanks,
Ahmed
I want to resize the image if its larger than a max-size. For this in the listener of "StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGED" I've modified the graphics's width and height. But then undoManager doen't undo operations performed before this image resize.
If I resize image using editManager.modifyInlineGraphic() then in undo-stack an extra operation will be added.
Any suggestions for resizing image on load so that undo-redo doesn't disturb.
Thanks,
Ahmed
