Hello, Mike,
1. The custom
ImageElement is a derivative of
LightVisualElement. hence, if you need to embed it inside a shape in
RadDiagram it is just necessary to add the
ImageElement to the Children collection of the shape. However, note that in order to be able to pan and zoom the image, the selection functionality of the shape should be disabled:
2. In the
OnMouseDown method of the
ImageElement you can use the Offset property in order to determine the zoomed area.
I would like to note that the provided
ImageElement demonstrates just a sample approach and it may not cover all possible cases. Feel free to modify it in a way which suits your requirement best.
I hope this information helps.
Regards,
Dess
Progress Telerik