Cómo establecer el color del área del gráfico ppt y agregar un borde al área del gráfico en Python
Código Python: from?win32com.client?import?GetObject
msoChart?=?3
msoTrue?=?-1
objApp?=?GetObject(Class?=?"PowerPoint.Application")
objPre?=?objApp.ActivePresentation
objSld?=?objPre.Slides(1) p>
if?objSld.Shapes(1).Type?==?msoChart:
#?Área del gráfico
objChart?=?objSld.Shapes(1). Gráfico
objChart.ChartArea.Format.Fill.ForeColor.RGB?=?0xFFFF8F0
#?Border
objLFmt?=?objChart.Format.Line
objLFmt.Visible?=?msoTrue
objLFmt.ForeColor.RGB?=?0x50B000
objLFmt.Weight?=?3
Antes de correr:
Después de correr: