This is a migrated thread and some comments may be shown as answers.

Excel to Pdf controls dissapear

1 Answer 28 Views
SpreadProcessing
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 09 Oct 2017, 12:51 PM

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?

 

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 10 Oct 2017, 03:00 PM
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

Tags
SpreadProcessing
Asked by
David
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or