>>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