Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxcharts: how to add watermark?
Message
 
À
24/11/2021 23:19:16
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01682829
Message ID:
01682830
Vues:
81
I wonder if using a PNG with transparency as the watermark would make a difference.
Otherwise, perhaps trying to preprocess/apply a color matrix to the watermark image before .DrawImage with _SCREEN.System.Drawing.Bitmap.ApplyColorMatrix
There is an example here http://vfpimaging.blogspot.com/2007/07/watermark-your-reports-with-gdiplusx.html
HTH

>Does anybody know a way to apply a watermark to Foxcharts output?
>
>In the Foxcharts Samples app there's a way to paint on the canvas using
>
>
oFoxcharts.oGfx.DrawImage(_Screen.System.Drawing.Bitmap.FromVarbinary(FILETOSTR(lcFile)),5,5))
>
>... but that puts the exact image in place, rather than a light watermark across the graph. Any ideas appreciated!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform