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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Collapse cell

Thread ID:





83809 Jun 27,2009 10:28 AM UTC Jul 7,2009 08:29 AM UTC WinForms 3
Tags: DocIO
Ravi Prabhat
Asked On June 27, 2009 10:28 AM UTC

how to Collapse cell at run time to using DocIo.

i am using this code for ms com dll

Dim rng101 As Microsoft.Office.Interop.Word.Range = STable.Cell(ro, ScoreColNo).Range
rng101.Text = vbCrLf & rrrw(0)
rng101.Font.Color = CInt(RGB(mycolor.R, mycolor.G, mycolor.B))

how to use in DOcIO_aacc63a7.txt

Sri Subhashini M [Syncfusion]
Replied On June 30, 2009 11:15 AM UTC


Thank you for your interest in Syncfusion product.

Collapsing Table Cell

If your intention is to merge a range of table cell, it can be achieved by using HorizontalMerge or VerticalMerge of the cell format. Kindly refer the below specified code snippet.

// Table formatting with cell merging.
table.Rows[0].Cells[0].CellFormat.HorizontalMerge = CellMerge.Start;
table.Rows[0].Cells[1].CellFormat.HorizontalMerge = CellMerge.Continue;
table.Rows[0].Cells[0].CellFormat.VerticalAlignment = VerticalAlignment.Middle;
table.Rows[0].Cells[0].CellFormat.BackColor = Color.FromArgb(218, 230, 246);

Please do find the online sample from the below specified location,

For more information, refer our online documentation.

If I have misunderstood your requirement, could you please explain me in detail, so that I can work in depth and try to send a better solution?


Ravi Prabhat
Replied On July 1, 2009 07:31 AM UTC


your sollution is merge the cell , but i have only one cell cell(0)


Vijayakumar S [Syncfusion]
Replied On July 7, 2009 08:29 AM UTC


Thank you for bringing this feature to our attention.

Collapsing the table cell is currently not supported by Essential DocIO. we have made a feature request on the same. We will update you, once this feature gets implemented.

Please let me know, if you have any concern on this.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon