XBRL'i C#'de Excel XLSX'e dönüştürün

Contents
[ ]

Aspose.Finance, XBRL dosyalarının bir örneğini geçirerek XLSX’e dönüştürmeyi destekler.Seçenekleri Kaydet sınıfaXbrlDocument.Kaydet yöntem. Belgeyi XLSX biçiminde kaydetmek için,SaveOptions.SaveFormat ileSaveFormat.XLSX.

Aşağıdaki C# kod parçacığı, XBRL’in XLSX’e nasıl dönüştürüldüğünü gösterir.

// 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);