change Annotations
open fun changeAnnotations(@NonNull annotations: List<Annotation>, @NonNull processingMode: PdfProcessorTask.AnnotationProcessingMode): PdfProcessorTask
Changes passed annotations according to passed AnnotationProcessingMode. By default, all annotations are kept (KEEP).
Return
Processor task describing the page processing progress.
Parameters
annotations
List of annotations to specify processing mode for. The annotations must be part of a source document.
processing Mode
Processing mode for annotations in the list.