GetEndNotesFirstParagraphs

GETENDNotes首字母组数组 }

返回当前文档所有尾注的第一个段落

参数:

这种方法没有任何参数

返回时间 :

类型
数组

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0adText ("这只是样本文本.")oDocument.AddEndnote()!var aEndNotesFirstParagraphs = oDocument.GetEndNotesFirstParagraphs()!aEndNotesFirstParagraphs[0].AddText("Endnote 1")!aEndNotesFirstParagraphs[0].SetBold(true)!builder.SaveFile("docx", "GetEndNotesFirstParagraphs.docx")!builder.CloseFile();

结果文档