Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert a watermark in a report
Message
De
28/06/2005 11:56:12
 
 
À
28/06/2005 11:15:45
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01026969
Message ID:
01027090
Vues:
39
Hi Emerson -

To make up for my brusque response to your previous question:

[is there] a way to do this without open each report and put the watermark?
I'm creating a class to print, preview and export reports (using ReportListener) and I want to put some code in this class to create a watermark after the report is stored in an object...


The .LoadReport() event of the ReportListener object gives you an opportunity to swap out the frx. See commandClauses.File, and see the help file topic for .LoadReport() for an example of doing this.

So you could get your Listener class to automatically add the watermark object into the structure - you'd use a copy of course, rather than alter the actual FRX.

It's a bit clunky, but it doesn't need GDI+...

- Colin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform