Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxcharts: how to add watermark?
Message
 
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:
01682830
Views:
80
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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform