Converti XBRL in Excel XLSX in C#

Contents
[ ]

Aspose.Finance supporta la conversione di file XBRL in XLSX passando un’istanza delSalvaOpzioni classe alXbrlDocument.Salva metodo. Per salvare il documento è in formato XLSX, impostare il fileSaveOptions.SaveFormat aSaveFormat.XLSX.

Il seguente frammento di codice C# mostra come convertire XBRL in XLSX.

// For complete examples and data files, please go to https://github.com/aspose-finance/Aspose.Finance-for-.NET
// Working directories
string sourceDir = RunExamples.Get_SourceDirectory();
string outputDir = RunExamples.Get_OutputDirectory();
XbrlDocument document = new XbrlDocument(sourceDir + @"IdScopeContextPeriodStartAfterEnd.xml");
// Set save options
SaveOptions saveOptions = new SaveOptions();
saveOptions.SaveFormat = SaveFormat.XLSX;
// Save file to XLSX format
document.Save(outputDir + @"ConvertXbrlToXlsx_out.xlsx", saveOptions);