Printing

Any possible way to print a GridList Control? If so, any quick examples?  I have multiple gridlist controls on a form which I would like to print.

2 Replies

JE Jeff July 25, 2018 02:37 PM UTC

I was able to resolve it:

 Dim gridPrintDocument As New GridPrintDocument(grdListMCInv.Grid, True)
        Dim printPreviewDialog As New PrintPreviewDialog()
        'Set the Grid contents to the print preview document
        printPreviewDialog.Document = gridPrintDocument
        'Display the print preview dialog
        printPreviewDialog.ShowDialog()


MG Mohanraj Gunasekaran Syncfusion Team July 26, 2018 04:16 AM UTC

Hi Jeff, 
 
Thanks for using Syncfusion product. 
 
Yes, you were right. If you want to print a GridListControl, you can use the GridListControl.Grid property in GridPrintDocument.  
 
Anyway, we are glad to know that your reported problem has resolved. 
 
Please let us know if you have any other queries. 
 
Regards, 
Mohanraj G 


Loader.
Up arrow icon