How to move the image freely by clicking left mouse button?
-
- Posts: 10
- Joined: Wed May 15, 2019 10:04 am
How to move the image freely by clicking left mouse button?
Dear all,
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.
Best Regards,
Jun Wei
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.
Best Regards,
Jun Wei
-
- Posts: 10
- Joined: Wed May 15, 2019 10:04 am
Re: How to move the image freely by clicking left mouse button?
Help please?
Best Regards,
Jun Wei
Best Regards,
Jun Wei
Re: How to move the image freely by clicking left mouse button?
Hi, Jun Wei,
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.
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.
-
- Posts: 10
- Joined: Wed May 15, 2019 10:04 am
Re: How to move the image freely by clicking left mouse button?
Hi Gabriela,
Noted with thanks.
Best Regards,
Jun Wei
Noted with thanks.
Best Regards,
Jun Wei
Who is online
Users browsing this forum: No registered users and 1 guest