We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error when DataGridPdfExportOption exportOption apply to var doc = pdfExport.ExportToPdf(atable, exportOption);

Thread ID:





129823 Apr 5,2017 10:03 AM UTC Apr 6,2017 02:43 PM UTC Xamarin.iOS 1
Tags: SfDataGrid
Asked On April 5, 2017 10:03 AM UTC


I'm decide to use a DataGridPdfExportingController for export SFDataGrid to PDF document.
When I define a PdfDocument options, for example

exportOption.PdfDocument.PageSettings.Orientation = PdfPageOrientation.Landscape;
exportOption.PdfDocument.PageSettings.Size = PdfPageSize.A4;

the application make exeption - null.

And same optinos - exportOption.FitAllColumnsInOnePage = true; - working
But  exportOption.ExportColumnWidth = false; - crush

Must I do something exept 
DataGridPdfExportingController pdfExport = new DataGridPdfExportingController();
DataGridPdfExportOption exportOption = new DataGridPdfExportOption();  for pdfexport ??

Thanks !

Indhumathy Malayappan [Syncfusion]
Replied On April 6, 2017 02:43 PM UTC

Hi IgorKuznetsov,

Thanks for contacting Syncfusion Support,

We have checked your requirement “Landscape mode is not working while exporting the grid to PDF” as a defect and we have fixed the reported issue from our side.

A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates


Indhumathy M 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon