We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to set the Watermark for the Grid while printing?

There is no direct property to set the watermark in the Grid. The WaterMark image can be added to print documents by using the PrintPage event. With this event, you can draw images on the print document by using graphics.

The following code example sets the background image for the Grid control and for drawing an image on printing a document.

C#

 

VB

 

Figure 1: Watermark in the Grid

Sample Links:

WaterMarkImage_CS

WaterMarkImage_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
4503 04/19/2015 04/19/2015 Windows Forms GridControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.