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.

Collapse cell

Thread ID:

Created:

Updated:

Platform:

Replies:

83809 Jun 27,2009 06:28 AM Jul 7,2009 04:29 AM Windows Forms 3
loading
Tags: DocIO
Ravi Prabhat
Asked On June 27, 2009 06:28 AM

hi,
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.Collapse(Microsoft.Office.Interop.Word.WdCollapseDirection.wdCollapseStart)
rng101.Text = vbCrLf & rrrw(0)
rng101.Font.Color = CInt(RGB(mycolor.R, mycolor.G, mycolor.B))
rng101.Collapse(Microsoft.Office.Interop.Word.WdCollapseDirection.wdCollapseEnd)






how to use in DOcIO_aacc63a7.txt

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

Hi,

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,
http://samples.syncfusion.com/ASPNET/7.2.0.20/web/docio.web/samples/3.5/Inserting%20Content/FormattingTable/CS/formattingtable.aspx

For more information, refer our online documentation.
http://help.syncfusion.com/ug_72_new/docio/TableCell.html

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?

Regards,
Suba

Ravi Prabhat
Replied On July 1, 2009 03:31 AM


hi,

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




101_9c252b3c.doc

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

Hi,

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.

Regards,
Vijay

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.

;