Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxcharts: how to add watermark?
Message
From
08/12/2021 08:48:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
24/11/2021 23:19:16
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01682829
Message ID:
01682932
Views:
144
>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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform