创建模式填充程序应用对象
名称 | 类型 | 描述性 |
sPaternType | 模式类型 | 模式类型从可用模式类型中选择填充 |
BgColor | apiuniColor | 模式创建使用背景色 |
FgColor | apiuniColor | 前景颜色用于模式创建 |
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!varoFinll=api.CreatePaternFinllvarostroke=api.CreatestrokeVar ODrawing = Api.CreateShapeoSlide.AddObject(oDrawing)!oDrawing.SetPosition(608400, 1267200)!builder.SaveFile("pptx", "CreatePatternFill.pptx")!builder.CloseFile();