Returns the comment author's name.
This method doesn't have any parameters.
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); var oParagraph = oDocument.GetElement(0); oParagraph.AddText("This is just a sample text"); Api.AddComment(oParagraph, "comment", "John Smith"); var aComments = oDocument.GetAllComments(); var sAuthor = aComments[0].GetAuthorName(); oParagraph = Api.CreateParagraph(); oParagraph.AddText("Comment author name: " + sAuthor); oDocument.Push(oParagraph); builder.SaveFile("docx", "GetAuthorName.docx"); builder.CloseFile();