A report can be rendered and exported to any supported format straight from an Avalonia app — PDF, Word, Excel, text or image.

Render, then export. Prepare the document, then write it to a stream in the chosen format:
var report = new StiReport();
report.Load(GetReportStream());
report.Render();

var stream = new MemoryStream();
report.ExportDocument(StiExportFormat.Pdf, stream);   // Word2007, Excel2007, Text, ImagePng, ...

How it works. Rendering is separate from output, so one prepared report can be exported to several formats without rebuilding it.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.