public class AnnotationManager extends Object
PdfDocument
.
Constructor and Description |
---|
AnnotationManager(InternalPdfDocument internalPdfDocument)
Please get AnnotationManager by
PdfDocument.getAnnotation() instead. |
Modifier and Type | Method and Description |
---|---|
void |
addTextAnnotation(AnnotationOptions options,
int pageIndex)
Adds an annotation to a page of this
InternalPdfDocument |
int |
getAnnotationCount(int pageIndex)
Retrieves the number of annotations contained on the specified page
|
public AnnotationManager(InternalPdfDocument internalPdfDocument)
PdfDocument.getAnnotation()
instead.internalPdfDocument
- the internal pdf documentpublic void addTextAnnotation(AnnotationOptions options, int pageIndex)
InternalPdfDocument
options
- The annotation options as a AnnotationOptions
object.pageIndex
- Index of the page to add the annotation. The first page has a PageIndex of 0public int getAnnotationCount(int pageIndex)
pageIndex
- Index of the page to get the annotation. The first page has a PageIndex of 0Copyright © 2022–2023 Iron Software. All rights reserved.