Export to pdf

The pdf table I export remains the same despite changing:

  • CanFitAllColumnsInOnePage to false, 
  • pdfDoc.PageSettings.Size to A3 from A4.
  •  CanExportColumnWidth = true

Is there a solution to fit all the content from cells in the pdf table to export if there are certain columns with considerably longer text than others? Currently it displays all rows and columns with the same size and they all fit on one page despite changing these options

using .NET MAUI Windows desktop with .net 8.0


1 Reply

SD Sethupathy Devarajan Syncfusion Team April 4, 2025 01:50 PM UTC

Hi Erika Smith,

Thank you for contacting us,


Query

Response

Is there a solution to fit all the content from cells in the pdf table to export if there are certain columns with considerably longer text than others? Currently it displays all rows and columns with the same size and they all fit on one page despite changing these options

 

 

We had checked your query with simple .NET 8 sample with enabling the pdf options described. It worked correctly. We had shared the tested sample for your reference.

 If you are still encountering the same problem, we kindly request you to modify the attached sample to reproduce the issue and provide additional details.  This will greatly assist us in investigating the issue further and providing an appropriate solution as quickly as possible.


Regards,
Sethupathy D.


Attachment: DataGridSample_1b7bb841.zip

Loader.
Up arrow icon