Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Watermark
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01240837
Message ID:
01241537
Views:
33
Russel,

>Use the GDIPlusX library, there is a sample in the download:
>http://www.codeplex.com/VFPX/Release/ProjectReleases.aspx?ReleaseId=1711
>
>Look at: samples\report_logowatermark_cool.prg

The WaterMarkListener that I suggested is based on that sample, and provides the possibility to set some other properties. When I created that sample, I was just thinking on creating a sample, so I suggest you to work with the new one.




>>>It appears that watermarks are not real simple in the VFP report writer, even in 9. If I put one in the page header, it makes the page header become quite large (larger than it needs to be for the data, but large enough for the watermark). In other words, the watermark is not spanning bands. I'd just like a one or two word watermark placed diagonally an spanning most of the page from lower left to upper right. Perhaps there's a trick I've not discovered. Any suggestions?
>>
>>Cathy Pountney shows how to create watermark in What's New in the Visual FoxPro 9.0 Report Writer
>
>Thanks, Sergey and Naomi and Cesar. As far as I can tell, placing the watermark as suggested in Cathy's article does not work as advertised. I tried various settings, but it caused the page header band to expand beyond the required height.
>
>I ended up using a suggestion from Bo Durban which prints the watermark correctly and lets me control opacity.
>
>From Bo:
>
>Use the GDIPlusX library, there is a sample in the download:
>http://www.codeplex.com/VFPX/Release/ProjectReleases.aspx?ReleaseId=1711
>
>Look at: samples\report_logowatermark_cool.prg
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform