📜  在 python pptx 中为表格添加边框 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:35.893000             🧑  作者: Mango

代码示例1
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)