VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Xlsx Namespace / XlsxDocument Class / XlsxDocument Constructors / XlsxDocument Constructor(String,FileMode,FileAccess)
Syntax Exceptions Requirements SeeAlso
In This Topic
XlsxDocument Constructor(String,FileMode,FileAccess)
In This Topic
Initializes a new instance of the XlsxDocument class.
Syntax
'Declaration

Public Function New( _
ByVal filename
The name of the XLSX file.
As System.String, _
ByVal mode
A FileMode constant that determines how to open or create the XLSX file.
As System.IO.FileMode, _
ByVal access
A FileAccess constant that determines how the XLSX file can be accessed.
As System.IO.FileAccess _
)
public XlsxDocument(
System.String filename,
System.IO.FileMode mode,
System.IO.FileAccess access
)

Parameters

filename
The name of the XLSX file.
mode
A FileMode constant that determines how to open or create the XLSX file.
access
A FileAccess constant that determines how the XLSX file can be accessed.
Exceptions
ExceptionDescription
Thrown if filename is null.
Thrown if mode or access is not supported.
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