CreateNewHistoryPoint

CreateNewHistoryPoint()

创建新历史点

参数:

这种方法没有任何参数

返回时间 :

方法不返回数据

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!varoFinll =api.CreateSolidFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!varoccontent=oshape.getdoccontentvarodente=occontent.getEplement0adText ("这只是样本文本.")oPresentation.CreateNewHistoryPoint()!odeptes = Api.CreatelementsadText (新历史点刚创建)oDocContent.Push(oParagraph)!oSlide.AddObject(oShape)!builder.SaveFile("pptx", "CreateNewHistoryPoint.pptx")!builder.CloseFile();

结果文档