Zooming to cursor position

Hello.


I noticed that the current behavior of the zoom function in Diagram Studio is to zoom into the top left corner of the diagram.

Is there already a way to zoom in/out to the current cursor position? I find this feature very useful, because then you can zoom in on a specific diagram component, instead of zooming in, and then scrolling.

Thanks in advance.


You can try using ZoomIn method. You can pass a rectangle to zoom in to, but if the rectangle is too small, it will zoom at the specified point:


atDiagram1.ZoomIn(Square(300, 300, 301, 301));

Excellent! I'll try that.