Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GdiPlusX Taking the best form Snapshot
Message
From
01/05/2008 16:05:39
 
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01313831
Message ID:
01314619
Views:
9
>>PNG works for me. I am capturing ActiveX with GdiPlusX quiet good. Now
>>is there way to capture ActiveX image without ActiveX actually being visible ? GdiPlusX throws error if part of control is hidden by
>>form border for instance. How about that oActivex.SelPrint() method
>>can this be used to capture activex as well ?
>>
>>I found somewhere example of printing it via printer hdc, so I was thinking if it possible somehow to 'cheat' it to 'print' into bitmap instead.
>>
>>Is this possible ?
>
>Every ActiveX control should implement the IViewObject interface which has a Draw method. You can use this to render the ActiveX control to any device context. This is nearly impossible with pure VFP code, it is much simpler using VC++, but still a tedeous task.
>
>This technique is what Moxie Objects uses to render ActiveX controls onto VFP reports with a higher than normal resolution. (http://www.moxiedata.com/objects.html)

Hi Bo,

Do you force ActiveX method to print itself (meaning clear printout)
or does it end up as some high resolution bitmap at the end, and then gets printed as such ?

BTW see PM.

Sergio

*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform