GetId

GetId()+{{字符串}

返回当前注释ID如果注释没有ID,null返回

参数:

这种方法没有任何参数

返回时间 :

类型
字符串

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0odText ("这只是样本文本")Api.vara批注sssodocument.Get all批注svardsss.getIdvaroCommentodocument.var委托人=o注释.get委托人Nameodeptes = Api.Createlementsodtext(“Comment作者名:+sauthor”)oDocument.Push(oParagraph)!builder.SaveFile("docx", "GetId.docx")!builder.CloseFile();

结果文档