Rearranging Annotation Tools in Our Viewer Toolbar

PSPDFKit for MAUI comes with a customizable annotation toolbar that, by default, includes a number of predefined items. You can rearrange toolbar items using our API.

The example below moves the first item that appears in the ink annotation toolbar to the last position:

PSPDFKitController.AnnotationToolbar.ToolbarItems[
	AnnotationType.Ink
].Move(
	0,
	PSPDFKitController.AnnotationToolbar.ToolbarItems[AnnotationType.Ink]
		.Count - 1,
);