From a1f5762aaa9d47914a182c748337b44a43f7630b Mon Sep 17 00:00:00 2001 From: VinothSF5015 Date: Mon, 22 Jun 2026 18:14:21 +0530 Subject: [PATCH 1/2] Content Added --- ...-work-on-merged-cells-with-wraptext-applied.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Document-Processing/Excel/Excel-Library/NET/faqs/does-autofit-row-or-column-work-on-merged-cells-with-wraptext-applied.md diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/does-autofit-row-or-column-work-on-merged-cells-with-wraptext-applied.md b/Document-Processing/Excel/Excel-Library/NET/faqs/does-autofit-row-or-column-work-on-merged-cells-with-wraptext-applied.md new file mode 100644 index 0000000000..9c639deb9a --- /dev/null +++ b/Document-Processing/Excel/Excel-Library/NET/faqs/does-autofit-row-or-column-work-on-merged-cells-with-wraptext-applied.md @@ -0,0 +1,15 @@ +--- +title: Does Autofit work on merged cells when WrapText is applied? | Syncfusion +description: This page explains why autofit row or column does not work on merged cells when WrapText is applied in XlsIO, following Microsoft Excel's behavior. +platform: document-processing +control: XlsIO +documentation: UG +--- + +# Does Autofit work on merged cells when WrapText is applied? + +No, autofitting rows or columns is not supported when a cell has both merged cells and WrapText enabled. This is expected behavior in Microsoft Excel, and Syncfusion XlsIO follows the same limitation. + +When WrapText is applied, Excel automatically adjusts the row height based on the column width to display all lines of wrapped text. However, when the cell is also merged, Excel cannot accurately determine the required dimensions for autofitting. + +As a result, autofit will not work in this scenario. To achieve the desired layout, you must manually set the row height or column width. \ No newline at end of file From b76beb8544b661e9b097ecbc025493773631248c Mon Sep 17 00:00:00 2001 From: VinothSF5015 Date: Mon, 22 Jun 2026 18:25:10 +0530 Subject: [PATCH 2/2] Update does-autofit-row-or-column-work-on-merged-cells-with-wraptext-applied.md --- ...ow-or-column-work-on-merged-cells-with-wraptext-applied.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Document-Processing/Excel/Excel-Library/NET/faqs/does-autofit-row-or-column-work-on-merged-cells-with-wraptext-applied.md b/Document-Processing/Excel/Excel-Library/NET/faqs/does-autofit-row-or-column-work-on-merged-cells-with-wraptext-applied.md index 9c639deb9a..22fbb93559 100644 --- a/Document-Processing/Excel/Excel-Library/NET/faqs/does-autofit-row-or-column-work-on-merged-cells-with-wraptext-applied.md +++ b/Document-Processing/Excel/Excel-Library/NET/faqs/does-autofit-row-or-column-work-on-merged-cells-with-wraptext-applied.md @@ -1,5 +1,5 @@ --- -title: Does Autofit work on merged cells when WrapText is applied? | Syncfusion +title: Autofit on merged cells with WrapText | Syncfusion description: This page explains why autofit row or column does not work on merged cells when WrapText is applied in XlsIO, following Microsoft Excel's behavior. platform: document-processing control: XlsIO @@ -12,4 +12,4 @@ No, autofitting rows or columns is not supported when a cell has both merged cel When WrapText is applied, Excel automatically adjusts the row height based on the column width to display all lines of wrapped text. However, when the cell is also merged, Excel cannot accurately determine the required dimensions for autofitting. -As a result, autofit will not work in this scenario. To achieve the desired layout, you must manually set the row height or column width. \ No newline at end of file +As a result, autofit will not work in this scenario. To achieve the desired layout, you must manually set the row height or column width.