Table of Contents

Method Export

Namespace
DocWright.Reporting.Export
Assembly
DocWright.Reporting.Export.dll

Export(ReportPageModel, FontEngine, Stream, ReportDocxExportOptions?)

Writes a paginated report as a .docx package.

public static void Export(ReportPageModel pages, FontEngine fonts, Stream output, ReportDocxExportOptions? options = null)

Parameters

pages ReportPageModel

The paginated report.

fonts FontEngine

The fonts to rasterize charts, gauges and custom items with.

output Stream

The stream to write to. It is not closed.

options ReportDocxExportOptions

What to write, or null for the defaults.

Exceptions

ArgumentNullException

A required argument is null.