Table of Contents

Method Write

Namespace
DocWright.Formats.Rdl
Assembly
DocWright.Formats.Rdl.dll

Write(IDocWrightDocument, Stream, DocumentWriteOptions, IConversionDiagnostics)

Writes the document to the stream.

public void Write(IDocWrightDocument document, Stream output, DocumentWriteOptions options, IConversionDiagnostics diagnostics)

Parameters

document IDocWrightDocument

The document to write.

output Stream

The stream to write to, forward-only.

options DocumentWriteOptions

The write options.

diagnostics IConversionDiagnostics

The diagnostics sink.

Exceptions

ArgumentNullException

A required argument is null.

ArgumentException

document is not a DocWright document.

ResourceLimitExceededException

The output exceeded a configured limit.

UnsupportedFeatureException

Strict mode, and the document used a construct RDL cannot carry.