Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing to JPEG
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01054456
Message ID:
01054547
Vues:
21
This message has been marked as the solution to the initial question of the thread.
LOCAL oListener As ReportListener, nPageIndex
oListener = CREATEOBJECT("ReportListener")
oListener.ListenerType=3 && renders all pages at once

* make sure the report can load and run
REPORT FORM MyReport PREVIEW OBJECT oListener

FOR nPageIndex=1 TO oListener.PageTotal
        cOutputFile = "tmp"+TRANS(nPageIndex)+".jpg"
        oListener.OutputPage(nPageIndex,;
                cOutputFile, 102, 0,0,768,1024) && 102=jpeg
NEXT
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform