Table of Contents

Property MaxNestedTableDepth

Namespace
DocWright.Layout
Assembly
DocWright.Layout.dll

MaxNestedTableDepth

Gets or sets the maximum nested-table depth resolution will admit, or null for the built-in ceiling alone.

public int? MaxNestedTableDepth { get; set; }

Property Value

int?

Remarks

Mirrors ResourceLimits.MaxNestedTableDepth. It has to be honoured here and not only in the layout engine, because resolution is the first consumer to walk the nested structure: a document deep enough to exhaust the stack does so before layout ever runs, and a StackOverflowException cannot be caught. The layout engine's identical check is the backstop, not the guard.

Independently of this value, resolution never recurses past MaxContainerNestingDepth.