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

Floating image on header/footer?

3 Answers 53 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 19 Jul 2018, 09:28 PM
Our enterprise has chosen Telerik as our tool to convert XLSX files to PDF.  One limitation that has become an issue for our clients is that Telerik's API doesn't seem to support images in the XLSX header/footer.  I've been trying to get around this limitation using the Telerik.Windows.Documents.Spreadsheet.Model.Shapes.FloatingImage class, but when I move the image past the top margin into the header region, the image gets cut off.  Is it possible to work around this somehow?  I was hoping to see a z-index parameter in the FloatingImage class, but nothing like that seems to exist.

3 Answers, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 24 Jul 2018, 11:28 AM
Hello Paul,

Indeed, RadSpreadsheet currently doesn't support adding an image to the header or footer of a worksheet. We have logged a feature request for this functionality and you can vote for its implementation as well as track its status using the related public item.

What I can suggest as a workaround is to add the image to the generated PDF document using the PdfProcessing library. To achieve that, you will need to import the PDF, create and position an editor and draw the image. For the Spreadsheet control, I am afraid that I couldn't find an option to show the image in the document.

Hope this is helpful.

Regards,
Tanya
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
0
Paul
Top achievements
Rank 1
answered on 24 Jul 2018, 07:48 PM
That information is very helpful, thank you.  I've voted for the implementation of that feature.  Do you know if this is likely to make it into a release anytime soon?  If so, we might be able to get by for now with extracting the header/footer images from the XLSX and then drawing them on the PDF.
0
Tanya
Telerik team
answered on 25 Jul 2018, 03:39 PM
Hello Paul,

The task is currently not planned for a specific release, thus I am unable to say a timeframe when the functionality will be available. Please, make sure you have subscribed to the item on our portal so you can receive updates about status changes on the task.

Regards,
Tanya
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
Spreadsheet
Asked by
Paul
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Paul
Top achievements
Rank 1
Share this question
or