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.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
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