Table of Contents

Property MaxNestingDepth

Namespace
DocWright.Composition
Assembly
DocWright.Composition.dll

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.

public int MaxNestingDepth { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

The value is not positive.