Region ZOrder
Region ZOrder
Hello,
I'm developing an application using GDPicture v. 9.4.
In this app I display images on a GDViewer.
over these images, I draw several regions, and many times these regions are overlapped.
If the regions are ovelapped, I can't select some of them,
is it possible to change the zorder of these regions, to make accessible all of these regions even if they are overlapped.
Thanks in advance
I'm developing an application using GDPicture v. 9.4.
In this app I display images on a GDViewer.
over these images, I draw several regions, and many times these regions are overlapped.
If the regions are ovelapped, I can't select some of them,
is it possible to change the zorder of these regions, to make accessible all of these regions even if they are overlapped.
Thanks in advance
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: Region ZOrder
Hi,
Unfortunately that is not an available option. That being said, you can select any region via code by using:
GdViewer.SetRegionSelected()
Hope this helps.
Best,
Sami
Unfortunately that is not an available option. That being said, you can select any region via code by using:
GdViewer.SetRegionSelected()
Hope this helps.
Best,
Sami
Re: Region ZOrder
Hi Sami,
thanks for you answer,
If I select a region by code, and this region is overlapped by another, the region is selected, but I can't move it without moving the region that is overlapping.
Thanks,
Nicolás
thanks for you answer,
If I select a region by code, and this region is overlapped by another, the region is selected, but I can't move it without moving the region that is overlapping.
Thanks,
Nicolás
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: Region ZOrder
Hi,
Yes, that is correct since the regions do not expose a Z-Order, so basically the first added region in that overlapping position would be the first selected region via mouse.
You can also move the regions via code.
If you want to select a region automatically via a z-order that you previously specify, you have to make a request for this feature here:
viewforum.php?f=28
Best,
Sami
Yes, that is correct since the regions do not expose a Z-Order, so basically the first added region in that overlapping position would be the first selected region via mouse.
You can also move the regions via code.
If you want to select a region automatically via a z-order that you previously specify, you have to make a request for this feature here:
viewforum.php?f=28
Best,
Sami
Who is online
Users browsing this forum: No registered users and 1 guest