enterAnnotationCreationMode

Starts the annotation creation mode with the last used annotation tool as the selected one.

Additionally, annotation creator dialog will show up if the default annotation creator has not been set.


Enter annotation creation mode on the document. Once you invoke this method, you'll get AnnotationCreationController (through registered ) which provides methods for annotation creation with a specified type. Uses default AnnotationToolVariant.

Additionally, annotation creator dialog will show up if the default annotation creator has not been set.

Parameters

annotationTool

Annotation tool to activate once creation mode is entered. Use NONE to just enter creation mode without any annotation creation tool selected.


open fun enterAnnotationCreationMode(@NonNull annotationTool: AnnotationTool, @NonNull annotationToolVariant: AnnotationToolVariant)

Enter annotation creation mode on the document. Once you invoke this method, you'll get AnnotationCreationController (through registered ) which provides methods for annotation creation with a specified type.

Additionally, annotation creator dialog will show up if the default annotation creator has not been set.

Parameters

annotationTool

Annotation tool to activate once creation mode is entered. Use NONE to just enter creation mode without an annotation creation tool selected.

annotationToolVariant

Specifies the variant of the annotation tool in which to start this mode.