获取图文

GetText()+++{字符串

返回注释文本

参数:

这种方法没有任何参数

返回时间 :

类型
字符串

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0odText ("这只是样本文本")Api.vara批注sssodocument.Get all批注svarstext=a批注ss.getTextodeptes = Api.Createlementsodtext ('注释文本:+stext)oDocument.Push(oParagraph)!builder.SaveFile("docx", "GetText.docx")!builder.CloseFile();

结果文档