GetAuthorName
Gets annotation author name.
Inherited from ApiBaseAnnotation.GetAuthorName.
Example
Read the author of an annotation in a PDF.
// How can I find out who created an annotation in a PDF?
// Retrieve the name of the person who added an annotation in a PDF.
let doc = Api.GetDocument();
let squareAnnot = Api.CreateSquareAnnot([10, 10, 160, 32]);
let page = doc.GetPage(0);
page.AddObject(squareAnnot);
console.log(`Annotation author name is: ${squareAnnot.GetAuthorName()}`);