Click or drag to resize
NanoXLSX

WorksheetCopy Method

Creates a (dereferenced) deep copy of this worksheet

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
public Worksheet Copy()

Return Value

Worksheet

[Missing <returns> documentation for "M:NanoXLSX.Worksheet.Copy"]

Remarks
Not considered in the copy are the internal ID, the worksheet name and the workbook reference. Since styles are managed in a shared repository, no dereferencing is applied (Styles are not deep-copied). Use CopyWorksheetTo(Worksheet, String, Workbook, Boolean) or CopyWorksheetIntoThis(Worksheet, String, Boolean) to add a copy of worksheet to a workbook. These methods will set the internal ID, name and workbook reference.
See Also