Winforms GridViewSpreadExport Issue

1 Answer 85 Views
Form General Discussions GridView Spreadsheet
Ömer
Top achievements
Rank 1
Ömer asked on 10 Nov 2022, 12:57 PM

Hi everyone,

When exporting my grid view to pdf, all the form components shrink and their text doesn't fit inside the component. I will share my code block and some screenshots with you. I look around for some clues but i didn't find anything. Please explain me how is this happening.

                GridViewSpreadExport spreadExporter = new GridViewSpreadExport(this.exportGrid, SpreadExportFormat.Pdf);
                SpreadExportRenderer exportRenderer = new SpreadExportRenderer();

                spreadExporter.ExportVisualSettings = true;
                spreadExporter.RunExportAsync(this.fileDialog.FileName, exportRenderer);

           

                

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 Nov 2022, 01:17 PM

Hi, Ă–mer,

I believe that the following KB article describes the exact case that you are describing:

https://docs.telerik.com/devtools/winforms/knowledge-base/app-becomes-dpi-aware 

It offers tips how to handle this situation as well. I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Form General Discussions GridView Spreadsheet
Asked by
Ömer
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or