Class AnnotationManager
java.lang.Object
com.ironsoftware.ironpdf.annotation.AnnotationManager
Class used to add annotations to a 
PdfDocument.
 - 
Constructor SummaryConstructorsConstructorDescriptionAnnotationManager(InternalPdfDocument internalPdfDocument) Please get AnnotationManager byPdfDocument.getAnnotation()instead.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddTextAnnotation(AnnotationOptions options, int pageIndex) Adds an annotation to a page of thisInternalPdfDocumentintgetAnnotationCount(int pageIndex) Retrieves the number of annotations contained on the specified page
- 
Constructor Details- 
AnnotationManagerPlease get AnnotationManager byPdfDocument.getAnnotation()instead.- Parameters:
- internalPdfDocument- the internal pdf document
 
 
- 
- 
Method Details- 
addTextAnnotationAdds an annotation to a page of thisInternalPdfDocument- Parameters:
- options- The annotation options as a- AnnotationOptionsobject.
- pageIndex- Index of the page to add the annotation. The first page has a PageIndex of 0
 
- 
getAnnotationCountpublic int getAnnotationCount(int pageIndex) Retrieves the number of annotations contained on the specified page- Parameters:
- pageIndex- Index of the page to get the annotation. The first page has a PageIndex of 0
- Returns:
- Number of annotations contained on the page
 
 
-