تحويل XBRL إلى Excel XLSX في C#

Contents
[ ]

يدعم Aspose.Finance تحويل ملفات XBRL إلى XLSX عن طريق تمرير مثيل منSaveOptions فئة لXbrlDocument.Save طريقة. لحفظ المستند بتنسيق XLSX ، اضبط ملفSaveOptions.SaveFormat إلىحفظ تنسيق XLSX.

يوضح مقتطف الشفرة C# التالي كيفية تحويل XBRL إلى 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);