Hi,
I couldnot find any equivalent property to set borders for TableEx in PPTX.
For PPT we used as below:
pptTable.SetBorders(Size, color);
For PPTX we are using as below:
foreach (RowEx row in pptTable.Rows)
{
foreach (CellEx cell in row)
{
cell.BorderTop.FillFormat.FillType = FillTypeEx.NoFill;
cell.BorderTop.FillFormat.SolidFillColor.Color = Drawing.Color.White;
cell.BorderTop.Width = 0f;
cell.BorderLeft.FillFormat.FillType = FillTypeEx.NoFill;
cell.BorderLeft.FillFormat.SolidFillColor.Color = Drawing.Color.White;
cell.BorderLeft.Width = 0f;
cell.BorderRight.FillFormat.FillType = FillTypeEx.NoFill;
cell.BorderRight.FillFormat.SolidFillColor.Color = Drawing.Color.White;
cell.BorderRight.Width = 0f;
cell.BorderBottom.FillFormat.FillType = FillTypeEx.NoFill;
cell.BorderBottom.FillFormat.SolidFillColor.Color = Drawing.Color.White;
cell.BorderBottom.Width = 0f;
}
}
Is looping throug all the cells and assigning the borders is the only way to setborders for a table in PPTX?
We are facing performance related issues due to this.
Kindly suggest if any method is available for PPTX or if it can be handled from your end.
Thanks,
Koundinya P