حوّل XBRL إلى iXBRL في C#

Contents
[ ]

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

يوضح مقتطف الشفرة C# التالي كيفية تحويل XBRL إلى تنسيق IXBRL.

// 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.IXBRL;
// Save file to XLSX format
document.Save(outputDir + @"ConvertXbrlToIXbrl_out.ixbrl", saveOptions);