Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #border #table #python #pptx
ADD COMMENT
Topic
Name
8+5 =