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.

Printing Contents of a Text Grid

Thread ID:





60381 May 3,2007 02:32 PM May 3,2007 03:00 PM Windows Forms 1
Tags: GridControl
Scott Griswold
Asked On May 3, 2007 02:32 PM


Is it possible to print the text contents of a single grid of text?

Scott Griswold

haneefm [Syncfusion]
Replied On May 3, 2007 03:00 PM

Hi Scott,

You can try this code snippet to print the grid control.

GridPrintDocument pd = new GridPrintDocument(gridControl1, true); //Assumes the default printer
PrintPreviewDialog dlg = new PrintPreviewDialog() ;
dlg.Document = pd;

Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.