Table of Contents

Property Limits

Namespace
DocWright.Formats.Xlsx
Assembly
DocWright.Formats.Xlsx.dll

Limits

Gets or sets the resource limits the package is read under. The default is a new ResourceLimits, whose defaults are on; null removes every limit that can be removed and is for input the caller already trusts.

public ResourceLimits? Limits { get; set; }

Property Value

ResourceLimits

Remarks

The reader honours MaxInputBytes, MaxPackageEntryCount, MaxPackageCompressionRatio and MaxUncompressedPartBytes. The XML nesting ceiling and the worksheet grid are not limits a caller sets and stay in force when this is null.