Free Text Annotation Utils
This provides methods to help with working with FreeTextAnnotations.
Functions
Link copied to clipboard
This will place the call out points in the same way the UI will place them based on user interaction.
Link copied to clipboard
open fun resizeToFitText(@NonNull freeTextAnnotation: FreeTextAnnotation, @NonNull document: PdfDocument, @NonNull widthScaleMode: FreeTextAnnotationUtils.ScaleMode, @NonNull heightScaleMode: FreeTextAnnotationUtils.ScaleMode)
Resizes the given free text annotation so the text fits inside its bounds.