getAnnotation Method
Extract the textual content, if present.
getAnnotation(): TextAnnotation | undefined
@see setAnnotation to change it.
Returns - TextAnnotation | undefined
Defined in
Last Updated: 27 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.