MergedCellsShrinkType enumeration

MergedCellsShrinkType enumeration

Represents the strategy to shrink merged cells for operations such as deleting blank rows/column.

The MergedCellsShrinkType type exposes the following members:

Fields

FieldDescription
NONELeaves the merged cells as it is without any modification.
SHRINK_TO_FITShrinks the merged area if needed, by removing rows from the bottom or columns from the right,
while ensuring all content remains visible.
KEEP_HEADER_ONLYOnly keeps the header rows/columns of the merged area when the top-left cell of the merged area is not blank.

See Also