创建模式填充程序应用对象
名称 | 类型 | 描述性 |
sPaternType | 模式类型 | 模式类型从可用模式类型中选择填充 |
BgColor | apiuniColor | 模式创建使用背景色 |
FgColor | apiuniColor | 前景颜色用于模式创建 |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0varoFinll=api.CreatePaternFinllvarostroke=api.CreatestrokevaroDrawing=api.CreateShapeoParagraph.AddDrawing(oDrawing)!builder.SaveFile("docx", "CreatePatternFill.docx")!builder.CloseFile();