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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

129823 Apr 5,2017 06:03 AM Apr 6,2017 10:43 AM Xamarin.iOS 1
loading
Tags: SfDataGrid
IgorKuznetsov
Asked On April 5, 2017 06:03 AM

Hi!

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();
and
DataGridPdfExportOption exportOption = new DataGridPdfExportOption();  for pdfexport ??

Thanks !




Indhumathy Malayappan [Syncfusion]
Replied On April 6, 2017 10:43 AM

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

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents 


Regards,
Indhumathy M 


CONFIRMATION

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.

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.

;