VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml Namespace / OpenXmlDocumentConverter Class / ConvertOdsToXlsx Methods / ConvertOdsToXlsx(String,String) Method
Syntax Example Requirements SeeAlso
In This Topic
    ConvertOdsToXlsx(String,String) Method (OpenXmlDocumentConverter)
    In This Topic
    Converts an ODS document to an XLSX document.
    Syntax
    'Declaration
    
    Public Overloads Shared Sub ConvertOdsToXlsx( _
    ByVal odsFilename
    The filename of input ODS document.
    As System.String, _
    ByVal xlsxFilename
    The filename of output XLSX document.
    As System.String _
    )
    public static void ConvertOdsToXlsx(
    System.String odsFilename,
    System.String xlsxFilename
    )
    public: static void ConvertOdsToXlsx(
    System.String odsFilename,
    System.String xlsxFilename
    )
    public:
    static void ConvertOdsToXlsx(
    System.String odsFilename,
    System.String xlsxFilename
    )

    Parameters

    odsFilename
    The filename of input ODS document.
    xlsxFilename
    The filename of output XLSX document.
    Example

    This C#/VB.NET code shows how to convert ODS document to a XLSX document.

    
    ''' <summary>
    ''' Converts ODS file to a XLSX file.
    ''' </summary>
    ''' <param name="odsFilePath">Path to a source ODS file.</param>
    ''' <param name="xlsxFilePath">Path to a result XLSX file.</param>
    Public Shared Sub ConvertXlsToXlsx(odsFilePath As String, xlsxFilePath As String)
        Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertOdsToXlsx(odsFilePath, xlsxFilePath)
    End Sub
    
    
    
    /// <summary>
    /// Converts ODS file to a XLSX file.
    /// </summary>
    /// <param name="odsFilePath">Path to a source ODS file.</param>
    /// <param name="xlsxFilePath">Path to a result XLSX file.</param>
    public static void ConvertXlsToXlsx(string odsFilePath, string xlsxFilePath)
    {
        Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertOdsToXlsx(odsFilePath, xlsxFilePath);
    }
    
    

    Requirements

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

    See Also