Collapse cell
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
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
SIGN IN To post a reply.
3 Replies
SS
Sri Subhashini M
Syncfusion Team
June 30, 2009 11:15 AM UTC
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
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
RP
Ravi Prabhat
July 1, 2009 07:31 AM UTC
VS
Vijayakumar S
Syncfusion Team
July 7, 2009 08:29 AM UTC
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
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
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
RP Ravi Prabhat
- Jun 27, 2009 10:28 AM UTC
- Jul 7, 2009 08:29 AM UTC