Get Started
Documentation

SetCellBorderBottom

SetCellBorderBottom(fSize, oApiFill)

Set the border which shall be displayed at the bottom of the current table cell.

Parameters:

Name Type Description
fSize mm

The width of the current border.

oApiFill ApiFill

Example

Copy code
builder.CreateFile("pptx");
var oPresentation = Api.GetPresentation();
var oTable = Api.CreateTable(2, 4);
var oRow = oTable.GetRow(0);
var oCell = oRow.GetCell(0);
var oFill = Api.CreateSolidFill(Api.CreateRGBColor(520, 64, 1));
oCell.SetCellBorderBottom(2, oFill);
var oSlide = oPresentation.GetSlideByIndex(0);
oSlide.RemoveAllObjects();
oSlide.AddObject(oTable);
builder.SaveFile("pptx", "SetCellBorderBottom.pptx");
builder.CloseFile();

Resulting document