mircea21S / RichCanvas

Infinite canvas with panning, zooming, scrolling and other customizable functions, designed for MVVM
MIT License
167 stars 17 forks source link

Zoom out showing Richcanvascontainer #36

Open praseethacp opened 4 months ago

praseethacp commented 4 months ago

Hi i added one image as an item to the RichItemcontrol. Do we have any property to know the position of that image in the container. whenever i zoom i need to track my image position in container, is there any property ?? Thank you .

mircea21S commented 4 months ago

Hi! So, if you have an image added in the RichItemsControl, to track the position of your image inside the container... Well that depends on you, as you have control over that image. How is it displayed, how is it moving inside the container if that's the case, and so on. You can subscribe to the Zooming event in RichItemsControl and work on getting the image position, you also have the BoundingBox property of the RichItemContainer so you know the container position.

Hope it helps!