Defines the text wrapping behavior for cells within an Excel sheet.
public enum TextWrap
Value | Name | Description |
---|---|---|
0 | Auto |
Text wrapping is automatically determined based on the cell's content and width. Text may overflow into adjacent cells if they are empty. |
1 | Overflow |
Allows text to overflow into adjacent cells if it exceeds the cell width and those cells are empty. If adjacent cells contain data, the text is clipped at the cell boundary. |
2 | Wrap |
Wraps text within the cell boundaries, expanding the cell height as needed to accommodate the wrapped text. |
3 | Clip |
Clips text to the cell boundaries, hiding any content that exceeds the width of the cell without altering the cell's size. |