This project has moved and is read-only. For the latest updates, please go here.

Copying Drawings

Jan 25 at 3:10 AM
I'm looking to copy a Chart (or any Drawing for that matter) from one ExcelWorksheet to another. What is the suggested way to go about doing this? Using the epplus API it looks like I have to create a new Chart using AddChart then copy all the attributes one at a time. Worse, it's not intuitive to get at things like the position/size from the source chart.

I've seen code on StackOverflow in which "CloneShape" was added to the ExcelDrawings class. Is building a custom epplus dll with calls like that in it my best option?

Thanks
Dave