Hello,
I'm trying to export a datagrid to a pdf that contains GridImageColumn mapped to a ImageSource property on a record. When I attempt to export I receive the following exception.
Object reference not set to an instance of an object.
at Syncfusion.SfDataGrid.XForms.Exporting.ExportingHelper.GetImagePath (Xamarin.Forms.StreamImageSource imageSource) [0x00050] in <633664e6b4d14452a8c06ce5ecaf0124>:0
at Syncfusion.SfDataGrid.XForms.Exporting.DataGridPdfExportingController.ExportCellValue (Syncfusion.SfDataGrid.XForms.SfDataGrid dataGrid, Syncfusion.Data.RecordEntry record, Syncfusion.SfDataGrid.XForms.GridColumn column, Syncfusion.Pdf.Grid.PdfGridCell pdfCell, Syncfusion.SfDataGrid.XForms.Exporting.DataGridPdfExportOption exportOption, System.Object pagedRecord) [0x00220] in <633664e6b4d14452a8c06ce5ecaf0124>:0
I've attached a sample showing the exception. Is there a workaround for this issue?
Thanks!
Attachment:
DataGrithWithImagePdfExport_83069249.zip