This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, June 6, 2006 4:46:42 AM(UTC)
Groups: Registered
Posts: 7
Hello,
I would like to know if it's possible in Leadtools 14.5 to clear the Undo stack ? Indeed, I would like to empty it to make another treatments on my image.
Is it possible ?
Thank you,
#2
Posted
:
Thursday, June 8, 2006 3:13:15 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
There is not function for emptying the undo stack. When the stack
gets full, and new nodes need to be added, the bottom nodes are
automatically deleted to make room for the new nodes.
#3
Posted
:
Thursday, July 6, 2006 10:55:27 PM(UTC)
Groups: Registered
Posts: 7
Thank you for your response,
But my problem is that I really want clear the undo stack when I load a new image in my rasterviewer. Indeed, I dont' want to see the annotations I've made in the previous image on the new one. I call the classic "CTRL-Z" to browse the annotations in the undo stack but when I load the new image, the annotations stay in memory so that's why I want to clean up.
Do you have any idea to avoid my problem ?
Thank you,
dvGodard
#4
Posted
:
Monday, July 10, 2006 11:02:22 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Set the undo buffer to 0, then back to 10. This will clear the undo buffer for you.
Automation.UndoCapacity = 0;
Automation.UndoCapacity = 10;
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.