Api编号

新建Api编号

类表示数属性

方法论

名称 描述性
GetClassType系统

返回类型Api编号类

Getlevel系统

返回当前数定级

ToJSON系统

转换Api编号对象为JSON对象

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvaro编号=ODocument.Create编号letnlvl=0NLVL < 8++nlvl+vlvarodeptes=api.Createleodlipse.adTextoParagraph.SetNumbering(oNumLvl)!oParagraph.SetContextualSpacing(true)!oDocument.Push(oParagraph)!} builder.SaveFile("docx", "ApiNumbering.docx")!builder.CloseFile();

结果文档