add Annotation To Page
Adds annotation to page asynchronously, refreshing rendering in all UI components.
Parameters
annotation
The Annotation to add.
select Immediately
True when annotation should be selected for editing immediately after being added to the page. This also enters annotation editing mode via enterAnnotationEditingMode.
open fun addAnnotationToPage(@NonNull annotation: Annotation, selectImmediately: Boolean, @Nullable completeAction: Runnable)
Adds annotation to page asynchronously, refreshing rendering in all UI components.
Parameters
annotation
The Annotation to add.
select Immediately
True when annotation should be selected for editing immediately after being added to the page. This also enters annotation editing mode via enterAnnotationEditingMode.
complete Action
Action that should be executed immediately after annotation has been added to the page.