指定当前运行内容通过双横向线显示线单线显示
名称 | 类型 | 描述性 |
isDoubleStrikeout | 布林安 | 指定当前运行内容显示双击 |
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.CreateRunoRun.SetDoubleStrikeout(true)!ORun.AddTextoParagraph.AddElement(oRun)!oSlide.AddObject(oShape)!builder.SaveFile("pptx", "SetDoubleStrikeout.pptx")!builder.CloseFile();