VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor.Xlsx Namespace / XlsxDocumentEditor Class / AddSheet Methods / AddSheet(String) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
AddSheet(String) Method (XlsxDocumentEditor)
In This Topic
Adds the sheet to the document.
Syntax
'Declaration

Public Overloads Function AddSheet( _
ByVal name
The name of the sheet.
As System.String _
) As XlsxDocumentSheet
public XlsxDocumentSheet AddSheet(
System.String name
)

Parameters

name
The name of the sheet.

Return Value

The sheet that was added to the document.
Exceptions
ExceptionDescription
Thrown if name is null or empty.
Thrown if sheet with specified name already exists in workbook.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also