Category / Section
How to convert the MS Datagridview to PDF
1 min read
How to Export the MS DataGridView to PDF.
At present, we do not have a direct method to export MS DataGridView to PDF. However, by converting the DataGridView to EMF (Enhanced Metafile Format), we can export it to PDF along with the styles and format.
Essential Pdf has the support to convert the EMF to Pdf and the vector graphics will be preserved, so that the user can perform text search, clipboard copy operations.
The sample in the link below explains how to convert the MS DataGridView to EMF and then convert the EMF to PDF.
Sample:
http://www.syncfusion.com/downloads/support/directtrac/general/DataGridViewSample761698862.zip