I am Icon a designer and developer. I have tested different Imaging software. Your Imaging software likes me best of all.
But I have not found any way to lay one or several Pictures as overlay about a picture
and to be able to select after this by user to explain graphics operations.
I also miss the possibility that a user can select an Overlay and shift this Overlay with the mouse and can zoom with mouse.
With best regards
You can easily do that using GdViewer controls into GdViewer control
- Add 3 controls to your form: GdViewer1 (the container object), GdViewer 2 & GdViewer 3: the childs.
- Set the BackColor of GdViewer2 & GdViewer3 as transparent.
Add this code:
Code: Select all
Now you will be able to zoom, move pan and overlay image.
Let me know if you need more details.
thank you. Your sample code works fine. Now I have unsuccesfully tried to implement a function, wich allows a user to select the overlay and resize the selection and move. I think, I have to to a work around, or is there a function to resize and move a picture in realtime while using the Mousemode MouseModeAreaSelection? The Move of AreaSelection is limited by the Size of the Overlay (32*32 Pixel). The size of GDViewer which display the Overlay is 256*256 Pixel. And I need to move the Overlay to the buttom right corner of the gdviewer control.
You must use the mouse events of the picture you want to move/resize. This needs some code but can be done easily. I'll try to add this kind of sample for the next release.
I'ts normal, the area of selection in an object embed within the Viewer, therefore it can be moved outside it.The Move of AreaSelection is limited by the Size of the Overlay
I'm using GDPicture.NET 10 and VB6 interop. GDViewer does not appear to be a container object in my environment. What am I missing ?
I am replacing an old PictureBox that has various objects overlaid.
Who is online
Users browsing this forum: No registered users and 1 guest