Answers for "add border to table in python pptx"

-1

add border to table in python pptx

from pptx.dml.color import RGBColor

# cell is a table cell
# set fill type to solid color first
cell.fill.solid()

# set foreground (fill) color to a specific RGB color
cell.fill.fore_color.rgb = RGBColor(0xFB, 0x8F, 0x00)
Posted by: Guest on August-28-2020

Python Answers by Framework

Browse Popular Code Answers by Language