Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GdiPlusX Taking the best form Snapshot
Message
De
01/05/2008 16:05:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01313831
Message ID:
01314619
Vues:
11
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform