We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Merge and remerge

Thread ID:

Created:

Updated:

Platform:

Replies:

124565 Jun 15,2016 02:21 AM Jun 16,2016 03:45 AM Windows Forms 2
loading
Tags: DocIO
Bodo Jäger
Asked On June 15, 2016 02:21 AM

Hello,
I'm able to merge cells in a table, but how can I remerge them?

Example
I build a table with 4 cols.
In the second row I merge col 2 and 3 to one cell.
In the third row I need again the 4 cols.

Priyanga Elangovan [Syncfusion]
Replied On June 16, 2016 03:19 AM

Hi Bodo

Thank you for contacting Syncfusion support

DocIO does not have any specific API for remerging of the vertically/horizontally merged cells. You can achieve your requirement by setting the WTableCell.CellFormat.HorizontalMerge and WTableCell.CellFormat.VerticalMerge as CellMerge.None if the cell has WTableCell.CellFormat.HorizontalMerge and WTableCell.CellFormat.VerticalMerge as CellMerge.Start or CellMerge.Continue.
We have prepared a demo sample to illustrate your requirement. Please find the sample from below link and let us know if it helps.

Sample link:
http://www.syncfusion.com/downloads/support/forum/124565/ze/GenerateWord_Windows13270176.zip

Regards,
Priyanga.E
 


Bodo Jäger
Replied On June 16, 2016 03:45 AM

Thanks. It works.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;