VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml Namespace / OpenXmlDocumentConverter Class / ConvertXlsxToCsv Methods / ConvertXlsxToCsv(String,Int32,String,Encoding) Method
Syntax Requirements SeeAlso
In This Topic
ConvertXlsxToCsv(String,Int32,String,Encoding) Method (OpenXmlDocumentConverter)
In This Topic
Converts an XLSX document to a CSV (Comma Separated Values) file.
Syntax
'Declaration

Public Overloads Shared Sub ConvertXlsxToCsv( _
ByVal xlsxFilename
The filename of input XLSX document.
As System.String, _
ByVal worksheetIndex
The index of worksheet that should be converted.
As System.Int32, _
ByVal csvFilename
The filename of output CSV file.
As System.String, _
ByVal csvFileEncoding
The text encoding of output CSV file.
As System.Text.Encoding _
)
public static void ConvertXlsxToCsv(
System.String xlsxFilename,
System.Int32 worksheetIndex,
System.String csvFilename,
System.Text.Encoding csvFileEncoding
)

Parameters

xlsxFilename
The filename of input XLSX document.
worksheetIndex
The index of worksheet that should be converted.
csvFilename
The filename of output CSV file.
csvFileEncoding
The text encoding of output CSV file.
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