EPPlus icon indicating copy to clipboard operation
EPPlus copied to clipboard

Copy ExcelGroupShape to another sheet

Open FedePorti opened this issue 10 months ago • 1 comments

How can I copy a ExcelGroupShape?

I can select the shape (that is a ExcelGroupShape) like this:

Dim shape As ExcelDrawing = sheet.Drawings.Item("Name")

But how can I add this shape to the Drawings? Because the function AddShape said that I can not cast a ExcelGroupShape to ExcelShape. Can be a function to AddGroupShape? Or another way to do this?

FedePorti avatar Apr 23 '24 16:04 FedePorti

Hello

EPPlus does not currently support copying Shapes. I will mark this as an enhancement for a future version.

AdrianEPPlus avatar Apr 24 '24 07:04 AdrianEPPlus

Added in EPPlus 7.2.0

JanKallman avatar Jul 25 '24 06:07 JanKallman