May I know how to move the image freely by clicking left mouse button?
So far it only allows to move up and down when clicking left mouse button.
GdViewer1.MouseMode = ViewerMouseMode.MouseModePan
GdViewer1.MouseWheelMode = ViewerMouseWheelMode.MouseWheelModeVerticalScroll
GdViewer1.MouseButtonForMouseMode = MouseButton.MouseButtonLeft
These are the only events available, there is no other events like GdViewer1.LeftMouseButtonBehavior.
Please help on this.
Of course, you can move your image freely. Please try to use our Document Viewer sample in your installation directory (GdPicture.NET 14\Samples\Bin\Document Viewer.exe). If you zoom the document so it exceeds the viewing area and the horizontal scrollbar appears, you can move the document within the viewer with the left mouse click from left to right in the same way as from up to bottom. If there is no scrollbar, you cannot move the document. And by the way, the MouseMode, MouseWheelMode, and MouseButtonForMouseMode are properties, not events.
Let us know if it helps.
Noted with thanks.
Who is online
Users browsing this forum: No registered users and 1 guest