This is a migrated thread and some comments may be shown as answers.

History access

1 Answer 86 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Christie Admin
Top achievements
Rank 1
Christie Admin asked on 27 Jul 2015, 03:51 AM

Hi,

 

I would like to if it's possible to access or to know how many items is present in the history???

 

Thank's

Alain

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 28 Jul 2015, 12:38 PM
Hi Alain,

The default number of changes stored in the stack is 1000, but you could change it through the Depth property of the History:
this.ImageEditorUI.ImageEditor.History.Depth = 500;

The items in the history are not accessible and the only thing that comes to mind in order to obtain them is to subscribe to the CommandExecuted event and implement a custom logic to store the records.

For more details about this  you could check the History article in our documentation.

Hope this is helpful.

Regards,
Tanya
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ImageEditor
Asked by
Christie Admin
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or