0

I am trying to export the following gridview (winforms project) with Telerik export library:

enter image description here

Output:

enter image description here

Code:

            ExportToPDF pdfExporter = new ExportToPDF(this.SystemGridView);
            pdfExporter.FileExtension = "pdf";
            pdfExporter.ExportVisualSettings = true;
            pdfExporter.HiddenColumnOption = HiddenOption.DoNotExport;
            pdfExporter.PdfExportSettings.EnableCopy = true;
            pdfExporter.RunExport(filename);

It's possible to export images with this library? I've found a link, but it's outdated.

Thank you!

Adrian Stanculescu
  • 1,040
  • 2
  • 13
  • 21

1 Answers1

0

Found:

GridViewPdfExport pdfExporter = new GridViewPdfExport(this.radGridView1);
pdfExporter.RunExport(@"C:\New.pdf", new PdfExportRenderer());

Link

Adrian Stanculescu
  • 1,040
  • 2
  • 13
  • 21