CreateInlineLvlSdt

CreateLvlSdtiinlinelvlSt}

创建新内联容器

参数:

这种方法没有任何参数

返回时间 :

类型
iinlinelvlSt

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0varoinlvlStoParagraph.AddInlineLvlSdt(oInlineLvlSdt)!var ORun=api.CreateRunORun.AddTextoInlineLvlSdt.AddElement(oRun, 0)!builder.SaveFile("docx", "CreateInlineLvlSdt.docx")!builder.CloseFile();

结果文档