-
Notifications
You must be signed in to change notification settings - Fork 277
Copy Drawings
AdrianEPPlus edited this page Sep 2, 2024
·
1 revision
##Copy Drawings EPPlus supports copying of drawings. You can use the copy function in Drawings to make a copy of the drawing to a new destination. The destination can be the same worksheet, another worksheet or even a worksheet in a different workbook.
//Copy the first drawing in worksheet to a destination worksheet on row 5 column 1
worksheet.Drawings[0].Copy(destinationWorksheet, 5, 1);
You can supply offsets for row and column as optional parameters
//Copy the first drawing in worksheet to a destination worksheet on row 5 column 1
worksheet.Drawings[0].Copy(destinationWorksheet, 5, 1, 15000, 15000);
EPPlus Software AB - https://epplussoftware.com
- What is new in EPPlus 5+
- Breaking Changes in EPPlus 5
- Breaking Changes in EPPlus 6
- Breaking Changes in EPPlus 7
- Addressing a worksheet
- Dimension/Used range
- Copying ranges/sheets
- Insert/Delete
- Filling ranges
- Sorting ranges
- Taking and skipping columns/rows
- Data validation
- Comments
- Freeze and Split Panes
- Header and Footer
- Autofit columns
- Grouping and Ungrouping Rows and Columns
- Formatting and styling
- Conditional formatting
- Using Themes
- Working with custom named table- or slicer- styles