Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, June 6, 2006 4:46:42 AM(UTC)
dvGodard

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,
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, June 8, 2006 3:13:15 AM(UTC)

Bashar  
Guest

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)
dvGodard

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)

Otis  
Guest

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.064 seconds.