Excel to Pdf controls dissapear

2 posts, 0 answers
  1. David
    David avatar
    9 posts
    Member since:
    Oct 2015

    Posted 09 Oct 2017 Link to this post

    Hi,

    See attached files. In the excel-file there are some checkbox controls. I use the following code to convert the excel file to a pdf:

            public static byte[] ExcelToPdfBytes(byte[] documentData)
            {
                var provider = new XlsxFormatProvider();
                var workbook = provider.Import(documentData);
                var pdfProvider = new PdfFormatProvider();
                return pdfProvider.Export(workbook);
            }

    When I open the exported pdf the checkbox controls are gone. Why?

     

  2. Tanya
    Admin
    Tanya avatar
    718 posts

    Posted 10 Oct 2017 Link to this post

    Hi David,

    RadSpreadProcessing doesn't support form controls at this point and that is why they are skipped while importing a spreadsheet document. We have logged a feature request in our public portal where you can vote for an implementation and track the status of the task. Here is a link to the concrete item: Implement support for form controls.

    Regards,
    Tanya
    Progress Telerik

Back to Top