Hello Telerik Team,
I'm working on an Excel export feature in a .NET application using Telerik Document Processing, and I need guidance on handling product images in an exported Excel workbook.
Environment
- Telerik Document Processing version: 2024.1.124
Output format: .xlsx
- Target application: Microsoft Excel
Images are retrieved as byte arrays from a private Azure Blob Storage container and embedded in the workbook using Telerik's FloatingImage API.
Problem Statement
The exported Excel workbook opens successfully, and all product images display correctly.
However, when a user deletes an entire product row by selecting the row header and choosing Delete, the image-to-product association is not preserved reliably. The remaining product rows move up, but the deleted product's image can reappear or become visible in the wrong position when the image is selected and Excel's Place in Cell command is used.
Sorting and filtering have appeared to work in our initial tests, but we need reliable behavior across normal Excel operations, including sorting, filtering, deleting rows, copying rows, and saving and reopening the workbook.
Our current implementation uses Telerik's FloatingImage API, which appears to store images as separate floating drawing objects rather than as values associated with their corresponding product cells.
Questions
Does Telerik Document Processing version 2024.1.124 provide a supported API to configure floating images to move and resize with cells, or otherwise maintain their association with the corresponding product row when rows are deleted or sorted?
Is it possible to configure image anchor behavior, such as the Open XML
editAssetting, through a supported Telerik API rather than modifying the exported XML manually?Does Telerik Document Processing support native Excel in-cell images equivalent to Excel's Place in Cell feature? If not in version 2024.1.124, is this supported in a newer version or planned for a future release?
If native in-cell images are not supported, what is the recommended Telerik-supported approach for ensuring embedded images remain associated with their corresponding product rows during sorting and row deletion?
Constraints
- Product images must remain embedded in the exported Excel workbook.
- Images are stored in a private Azure Blob Storage container.
- Public image URLs and SAS URLs for Excel's
IMAGE()formula are not an option. - VBA and macros cannot be used.
- Introducing additional NuGet packages is not preferred.
- The output must remain a valid, editable
.xlsxworkbook that opens normally in Excel. - We want to avoid unsupported XML modifications that could corrupt the workbook.
Could you please clarify whether this behavior can be achieved with the current version, whether upgrading Telerik would help, and which supported API or approach you recommend?
Thank you for your help.