Get Started
Usage API

SetCellBorderRight

SetCellBorderRight(fSize, oApiFill)

Set the border which shall be displayed at the right 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.SetCellBorderRight(2, oFill);
oSlide = oPresentation.GetSlideByIndex(0);
oSlide.RemoveAllObjects();
oSlide.AddObject(oTable);
builder.SaveFile("pptx", "SetCellBorderRight.pptx");
builder.CloseFile();

Resulting document