GetClassType系统

GetClassType()+++

返回类型Api数级

参数:

这种方法没有任何参数

返回时间 :

类型
"numberingLevel"

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvaro编号=ODocument.Create编号letnlvl=0NLVL < 8++nlvl+vlvarodeptes=api.Createleodlipse.adTextoParagraph.SetNumbering(oNumLvl)!oParagraph.SetContextualSpacing(true)!oDocument.Push(oParagraph)!slassType=ONUMLvl.GetClassTypeodeptements =ODocument.GetE元素0odstext (slass类型=+ssstype)builder.SaveFile("docx", "GetClassType.docx")!builder.CloseFile();

结果文档