Table of Contents

Class CompositionOptions

Namespace
DocWright.Composition
Assembly
DocWright.Composition.dll

Options that govern how a composition is built.

public sealed class CompositionOptions
Inheritance
CompositionOptions
Inherited Members

Constructors

CompositionOptions()

Fields

DefaultMaxNestingDepth

The default nesting depth a composition may reach, matching the depth Word itself supports for nested tables.

Properties

MaxNestingDepth

Gets or sets the deepest nesting the composer will lower.

Rows and tables both lower to tables, so both count. Exceeding this refuses the composition at compose time with a ResourceLimitExceededException naming MaxCompositionNestingDepth — as opposed to a layout diagnostic, which is what a document that lowered successfully and then nested too deeply for the renderer would produce.