Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxcharts: how to add watermark?
Message
De
08/12/2021 08:48:48
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
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:
01682932
Vues:
145
>All,
>
>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!

Check if oGfX/GDI+ allows to set a ZOrder, so the image goes behind the actual image, end if there is something to set the alpha/fading of the picture inserted with GDI+
It sounds like there should be a way to do it, but I have no time to figure it out. The oGfx must not expose it, so maybe you need to add something.
The other idea would be to paint the picture before you call FoxCharts, so it will be lower into ZOrder (as in VFP, what is painted / instiated first will be behind/lower in ZOrder)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform