VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Xlsx Namespace / XlsxDocument Class / XlsxDocument Constructors / XlsxDocument Constructor(String,FileMode,FileAccess,DocumentLayoutSettings)
Syntax Exceptions Requirements SeeAlso
In This Topic
XlsxDocument Constructor(String,FileMode,FileAccess,DocumentLayoutSettings)
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, _
ByVal documentLayoutSettings
The XLSX document layout settings.
As Vintasoft.Imaging.Codecs.Decoders.DocumentLayoutSettings _
)

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.
documentLayoutSettings
The XLSX document layout settings.
Exceptions
ExceptionDescription
Thrown if filename is null.
Thrown if mode or access is not supported.
Requirements

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

See Also