Set watermark by code in the preview window
Hi, is there a way to change the watermark in the preview window, only by code, without passing through the EditWatermark window?
I've tried cycling the PreparedPages collection and set the watermark for all the pages but without success.
I've tried even cycling the ReportPages and regenerate the report with the RefreshReport method of the Preview window but without success.
Is there a way to realize this?
Thank you.
I've tried cycling the PreparedPages collection and set the watermark for all the pages but without success.
I've tried even cycling the ReportPages and regenerate the report with the RefreshReport method of the Preview window but without success.
Is there a way to realize this?
Thank you.
Comments
This code sets the watermark to all pages and refreshes a report: