GetNext

GetNext()+++api段......

返回下一段如果存在

参数:

这种方法没有任何参数

返回时间 :

类型
api段空区

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0odText(新段)oParagraph.AddLineBreak()!adText (scell down查看新段)varosection1=ODocument.Createsectionodeptes = Api.CreatelementsodText ("这是第一段段")oDocument.Push(oParagraph)!varosection2=ODocument.CreatesectionVaroNextsection=osection1.GetNext下一节.SetPageMgins7200,2880,1440,5760builder.SaveFile("docx", "GetNext.docx")!builder.CloseFile();

结果文档