How to select a rectangle and zoom to those coordinates
How to select a rectangle and zoom to those coordinates
I would like to give the user the ability of selecting a 'hard to read' area on the image by holding down left mouse button and then zooming into that rectangle when the user releases the mouse button.
Re: How to select a rectangle and zoom to those coordinates
In 2 lines (the second is optional).
Code: Select all
GdViewer1.MouseMode = ViewerMouseMode.MouseModeAreaZooming
GdViewer1.MouseButtonForMouseMode = MouseButton.MouseButtonLeft
Who is online
Users browsing this forum: No registered users and 1 guest