public final class Annotation_Api extends Object
| Constructor and Description |
|---|
Annotation_Api() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addTextAnnotation(InternalPdfDocument internalPdfDocument,
TextAnnotation textAnnotation,
int pageIndex,
int x,
int y)
Adds an annotation to a page of this
InternalPdfDocument |
static void |
addTextAnnotation(InternalPdfDocument internalPdfDocument,
TextAnnotation textAnnotation,
int pageIndex,
int x,
int y,
int width)
Adds an annotation to a page of this
InternalPdfDocument |
static void |
addTextAnnotation(InternalPdfDocument internalPdfDocument,
TextAnnotation textAnnotation,
int pageIndex,
int x,
int y,
int width,
int height)
Adds an annotation to a page of this
InternalPdfDocument |
static int |
getAnnotationCount(InternalPdfDocument internalPdfDocument,
int pageIndex)
Retrieve the number of annotations contained on the specified page
|
public static void addTextAnnotation(InternalPdfDocument internalPdfDocument, TextAnnotation textAnnotation, int pageIndex, int x, int y, int width)
InternalPdfDocumentinternalPdfDocument - the internal pdf documenttextAnnotation - The annotation as a TextAnnotation object.pageIndex - Index of the page to add the annotation. The first page has a PageIndex of 0x - The horizontal X position of the annotation on your page in pixelsy - The vertical Y position of the annotation on your page in pixels. Measured from bottom upwards.width - The width of your annotation's icon and interactive area in pixelspublic static void addTextAnnotation(InternalPdfDocument internalPdfDocument, TextAnnotation textAnnotation, int pageIndex, int x, int y, int width, int height)
InternalPdfDocumentinternalPdfDocument - the internal pdf documenttextAnnotation - The annotation as a TextAnnotation object.pageIndex - Index of the page to add the annotation. The first page has a PageIndex of 0x - The horizontal X position of the annotation on your page in pixelsy - The vertical Y position of the annotation on your page in pixels. Measured from bottom upwards.width - The width of your annotation's icon and interactive area in pixelsheight - The height of your annotation's icon and interactive area in pixelspublic static void addTextAnnotation(InternalPdfDocument internalPdfDocument, TextAnnotation textAnnotation, int pageIndex, int x, int y)
InternalPdfDocumentinternalPdfDocument - the internal pdf documenttextAnnotation - The annotation as a TextAnnotation object.pageIndex - Index of the page to add the annotation. The first page has a PageIndex of 0x - The horizontal X position of the annotation on your page in pixelsy - The vertical Y position of the annotation on your page in pixels. Measured from bottom upwards.public static int getAnnotationCount(InternalPdfDocument internalPdfDocument, int pageIndex)
internalPdfDocument - the internal pdf documentpageIndex - Page indexCopyright © 2022–2023 Iron Software. All rights reserved.