OfficeIMO

API Reference

Enum

OverflowMode

Namespace OfficeIMO.Excel.Fluent
Assembly OfficeIMO.Excel
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Behavior when a rendered table exceeds the fixed grid column width in SheetComposer.Columns(...).

Inheritance

  • Enum
  • OverflowMode

Values

public const OverflowMode Throw #

Throw an exception (default): fail fast to avoid silent data loss.

Value: 0
public const OverflowMode Shrink #

Render only the first N columns that fit; omit the rest.

Value: 1
public const OverflowMode Summarize #

Render the first N-1 columns and a final "More" column that summarizes omitted columns.

Value: 2