Table of Contents

Field MaxSectionColumns

Namespace
DocWright.Layout
Assembly
DocWright.Layout.dll

The largest section column count resolution will project, above which the surplus is dropped with a diagnostic.

public const int MaxSectionColumns = 1024

Returns

int
The largest section column count resolution will project, above which the surplus is dropped with a diagnostic.

Remarks

w:cols/@w:num is an unbounded ST_DecimalNumber and layout turns the count into one region per column, so an unclamped value is both an allocation and an arithmetic overflow from a single attribute. Word's own maximum is 45 columns on a page, so this ceiling is more than an order of magnitude past anything real; it is a safety bound, not a fidelity decision.