Get Started
Usage API

SetCellBorderLeft

SetCellBorderLeft(fSize, oApiFill)

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

Parameters:

Name Type Description
fSize mm

The width of the current border.

oApiFill ApiFill

Returns:

This method doesn't return any data.

Example

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

Resulting document