etOutLine

SetOutLine(oStroke)apiTextPr}

继承发件人 :ApiTextPr#SetOutLine

设置文本轮廓当前文本运行

参数:

名称 类型 描述性
OStroke系统 apiStroke系统

中风创建文本轮廓

返回时间 :

类型
apiTextPr

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!varoFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!varoccontent=oshape.getdoccontentvarodente=occontent.getEplement0var ORun=api.CreateRunORun.AddText ("这只是样本文本)oParagraph.AddElement(oRun)!ORun=Api.CreateRunstroke = Api.CreateStroke(0.2*36000,Api.CreateSolidFilloRun.SetOutLine(oStroke)!ORun.AddTextoParagraph.AddElement(oRun)!oSlide.AddObject(oShape)!builder.SaveFile("pptx", "SetOutLine.pptx")!builder.CloseFile();

结果文档