public class TextAnnotation extends Object
An Annotation implementation that represents
 a PDF annotation of type Text.
Text annotations are 'sticky notes', snippets of commentary associated with particular location within a PDF document's page.
 The only attribute a text annotation may contain aside from those
 defined by the Annotation interface is the type of
 icon that should be displayed by a viewer to indicate the presence of a text annotation.
 The icon type can be retrieved using the TextAnnotation.getIconName() function.
 
| Constructor and Description | 
|---|
TextAnnotation()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getIconName()
Returns an optional String attribute indicating the type of icon to be used in displaying this
 annotation. 
 | 
getAppearance, getContents, getModificationDate, getName, getTypeCdpageNumberpublic String getIconName()