Loading...

Capture User Control In Image

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Capture User Control In Image

Postby Tom Moran » Thu Oct 28, 2010 10:37 pm

Hi Loic:

I have a new project where I need to embed a few VB6 Text Boxes in the GdViewerCnt control.

My question is: Is there a way to capture the text box controls as part of the image?

Thanks,

Tom
Tom Moran
 
Posts: 102
Joined: Thu May 24, 2007 9:41 am
Location: Phoenix, Arizona

Re: Capture User Control In Image

Postby Loïc » Fri Oct 29, 2010 12:22 pm

Hi Tom,

You can use something like that:

Code: Select all
Imaging1.CreateImageFromHwnd (GdViewerCnt1.hWnd)


This will capture the whole GdViewer content.

Let me know if it is not 100% what you are trying to do.

Cheers,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Capture User Control In Image

Postby Tom Moran » Fri Oct 29, 2010 7:18 pm

Perfect. That's exactly what I was looking for.

Thanks, Loic!

Tom
Tom Moran
 
Posts: 102
Joined: Thu May 24, 2007 9:41 am
Location: Phoenix, Arizona


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 3 guests

cron