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. Image for the cookie policy date
close icon

Exporting to pdf for sfListView

Hi,

Do you have any plan to export into PDF for sflistview like sfdatagrid as below?

private void ExportToPdf(object sender, EventArgs e)
{
    DataGridPdfExportingController pdfExport = new DataGridPdfExportingController();
    MemoryStream stream = new MemoryStream();
    var doc = pdfExport.ExportToPdf(this.dataGrid);
    doc.Save(stream);
    doc.Close(true);

    Xamarin.Forms.DependencyService.Get<ISave>().Save("DataGrid.pdf", "application/pdf", stream);
}

1 Reply

DB Dinesh Babu Yadav Syncfusion Team July 17, 2017 11:33 AM UTC

Hi Emil, 
 
Thank you contacting Syncfusion Support. 
 
We have checked the reported requirement “Export SfListView to PDF document” at our end but we need some additional information’s to provide an appropriate solution for the reported requirement to you. So, could you please share the below details? 
 
  • Could you please share that whether you need to export the SfListView data as grid template like SfDataGrid(Rows and Columns)?
  • Could you please share that do you need to export the different(complex) template provided in ItemTemplate to PDF document?
 
Regards, 
Dinesh Babu Yadav 
 
 


Loader.
Live Chat Icon For mobile
Up arrow icon