Table of Contents

Class RdlDefinitionWriteSettings

Namespace
DocWright.Reporting.Rdl
Assembly
DocWright.Reporting.Rdl.dll

Settings for RdlDefinitionWriter.

public sealed class RdlDefinitionWriteSettings
Inheritance
RdlDefinitionWriteSettings
Inherited Members

Remarks

The defaults reproduce what Report Builder itself emits — UTF-8 with a byte-order mark, an XML declaration, CRLF line endings and two-space indentation — measured from the Microsoft sample reports in tests/fixtures/rdl/reports/. A file DocWright saves should not look to a designer like it came from somewhere else.

Constructors

RdlDefinitionWriteSettings()

Properties

ByteOrderMark

Gets or sets whether the output begins with a UTF-8 byte-order mark. Defaults to true.

Diagnostics

Gets or sets the sink for diagnostics raised while writing, or null to discard them.

Indent

Gets or sets the indentation used per nesting level. Defaults to two spaces.

NewLine

Gets or sets the line ending. Defaults to \r\n.

XmlDeclaration

Gets or sets whether the output begins with an XML declaration. Defaults to true.

Methods

Clone()

Creates a copy, so a writer can apply per-call overrides without mutating the instance its caller handed it.