File Annotation
constructor(@IntRange(from = 0 ) pageIndex: Int, @NonNull boundingBox: RectF, @NonNull embeddedFileSource: EmbeddedFileSource)
Creates a new file annotation.
Parameters
page Index
Page to which this annotation will be attached to.
bounding Box
Annotation's bounding box on the page in PDF coordinates.
embedded File Source
Source of the file data that should be attached to the annotation.
constructor(@NonNull properties: AnnotationPropertyManager, markDirty: Boolean, @Nullable resourceId: String)
Intended for internal usage only.