Konvertera tabell till ODS.

Contents
[ ]

Aspose.Cells stöder att konvertera en Excel-fil med tabell till en ODS-fil. Du behöver bara spara filen i ODS-format och den genererade ODS-filen kommer att ha en fungerande tabell.

Exempelkod

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
//Source directory
string sourceDir = RunExamples.Get_SourceDirectory();
//Output directory
string outputDir = RunExamples.Get_OutputDirectory();
// Open an existing file that contains a table/list object in it
Workbook wb = new Workbook(sourceDir + "SampleTable.xlsx");
// Save the file
wb.Save(outputDir + "ConvertTableToOds_out.ods");

Den utdata ODS-fil som genereras av provkoden bifogas för din referens.

Output ODS File