FileAnnotation

constructor(@IntRange(from = 0) pageIndex: Int, @NonNull boundingBox: RectF, @NonNull embeddedFileSource: EmbeddedFileSource)

Creates a new file annotation.

Parameters

pageIndex

Page to which this annotation will be attached to.

boundingBox

Annotation's bounding box on the page in PDF coordinates.

embeddedFileSource

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.