Enum MergedCellsShrinkType

MergedCellsShrinkType enumeration

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

public enum MergedCellsShrinkType

Values

NameValueDescription
None0Leaves the merged cells as it is without any modification.
ShrinkToFit1Shrinks the merged area if needed, by removing rows from the bottom or columns from the right, while ensuring all content remains visible.
KeepHeaderOnly2Only keeps the header rows/columns of the merged area if needed.

See Also