Detecting change

2 posts, 0 answers
  1. Christie Admin
    Christie Admin avatar
    239 posts
    Member since:
    Aug 2013

    Posted 23 Jul 2015 Link to this post



    I would like to know how it's possible to detect any changes to the image in the editor?




  2. Petya
    Petya avatar
    983 posts

    Posted 27 Jul 2015 Link to this post

    Hi Alain,

    You can subscribe to the CurrentImageChanged event of the image history to be notified about changes in the current image.
    this.ImageEditorUI.ImageEditor.History.CurrentImageChanged += History_CurrentImageChanged;

    Please note the event is raised when the tool you are working with is committed, i.e. when the image is actually changed. You can also take a look at this SDK example to see how to work with the ToolCommitting and ToolCommitted events.

    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
Back to Top