Creating and processing Overlays
Creating and processing Overlays
Hello,
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
Jürgen
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
Jürgen
Re: Creating and processing Overlays
Hi,
Are you talking about a magnification feature ?
Best regards,
Loïc
Are you talking about a magnification feature ?
Best regards,
Loïc
Re: Creating and processing Overlays
Hello,
Sorry, Zoom was the wrong word. User must be able to increase or decrease the size of an overlay with mouse.
Best regards
Jürgen
Sorry, Zoom was the wrong word. User must be able to increase or decrease the size of an overlay with mouse.
Best regards
Jürgen
Re: Creating and processing Overlays
Hi,
You can easily do that using GdViewer controls into GdViewer control
IE:
- 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:
Now you will be able to zoom, move pan and overlay image.
Let me know if you need more details.
Cheers,
Loïc
You can easily do that using GdViewer controls into GdViewer control
IE:
- 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
GdViewer1.Controls.Add(GdViewer2)
GdViewer1.Controls.Add(GdViewer3)
Now you will be able to zoom, move pan and overlay image.
Let me know if you need more details.
Cheers,
Loïc
Re: Creating and processing Overlays
Hello,
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.
Ciao Jürgen
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.
Ciao Jürgen
Re: Creating and processing Overlays
Hi,
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.
Best regards,
Loïc
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
Best regards,
Loïc
Re: Creating and processing Overlays
Hi Loic,
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.
Best regards,
DanH
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.
Best regards,
DanH
Who is online
Users browsing this forum: No registered users and 2 guests