Select Area Delphi
-
- Posts: 1
- Joined: Mon Jan 07, 2008 5:24 pm
Select Area Delphi
I'm evaluating GdViewer. Is it possible to select an area and store co-ordinates and how can these be adjusted to allow for zooming?
Re: Select Area Delphi
Hi,
- To select an area:
Set the MouseMode property to 1 (MouseModeAreaSelection)
https://www.gdpicture.com/references/gdv ... eMode.html
- To get the co-ordinates of the selected area:
https://www.gdpicture.com/references/gdv ... alues.html
https://www.gdpicture.com/references/gdv ... Width.html
https://www.gdpicture.com/references/gdv ... eight.html
https://www.gdpicture.com/references/gdv ... RectX.html
https://www.gdpicture.com/references/gdv ... RectY.html
- To Zomm into the area:
ZoomRect method: https://www.gdpicture.com/references/gdv ... mRect.html
Regards,
Loïc
- To select an area:
Set the MouseMode property to 1 (MouseModeAreaSelection)
https://www.gdpicture.com/references/gdv ... eMode.html
- To get the co-ordinates of the selected area:
https://www.gdpicture.com/references/gdv ... alues.html
https://www.gdpicture.com/references/gdv ... Width.html
https://www.gdpicture.com/references/gdv ... eight.html
https://www.gdpicture.com/references/gdv ... RectX.html
https://www.gdpicture.com/references/gdv ... RectY.html
- To Zomm into the area:
ZoomRect method: https://www.gdpicture.com/references/gdv ... mRect.html
Regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest