DataGrid to Image

Hi,

I see that you have a feature in WPF to export a grid to image using excelExport component.
I have a similar requirement of converting sfGrid in xamarin forms to an image.
Any idea how to do that ?

Thanks for the help!

3 Replies

SK Suriya Kalidoss Syncfusion Team May 5, 2018 04:19 PM UTC

Hi Vivek, 
Thank You for using Syncfusion Products, 
We had analyzed your query. Based on your requirement we recommend to use the exporting the data to PDF with several customization options like custom appearance, excluding specific columns, excluding headers, setting custom row height, setting custom column width, etc. It also supports GroupingFiltering, and Sorting when exporting. SfDataGrid does not have support for image export. Pdf exporting is more compatible than the Image Exporting. In PDF exporting we can save all the images as a collection in PDF. So, we recommend to use Pdf exporting. 
Please let us know if your requirement deviates from us. 
Please refer the below link for Pdf exporting. 
Regards, 
Suriya K 



FA Farooq April 16, 2020 05:48 AM UTC

Ok, great tutorial on how to export to pdf especially with lot of options. But it do not support Urdu , Arabic, or Persian Unicode languages when converted to pdf. While these languages are supported and viewed perfectly in SfDataGrid !
Unicode letter are shown but seperately and not comined to form Word.
I  am using Syncfusion.Xamarin.DataGridExport (17.3.0.28)



Attachment: Screenshots_c5ecd570.zip


KK Karthikraja Kalaimani Syncfusion Team April 17, 2020 06:38 AM UTC

Hi Farooq,

Your requirement can be achieved by setting native language font to PdfTrueTypeFont on CellExportingEventHandler of DataGridPdfExportingController. For more details please refer the below KB.

KB link : https://www.syncfusion.com/kb/11198/how-to-export-middle-eastern-languages-arabic-hebrew-from-xamarin-forms-datagrid-sfdatagrid

Regards,
Karthik Raja  


Loader.
Up arrow icon