pdfrx_web
    Preparing search index...

    Function PdfAnnotationToolbar

    • The annotation toolbar starts in annotation-object mode and provides object/text selection toggles, drawing tools, an image picker, plus color/width pickers. Closing it returns to normal viewing; Alt/Option temporarily swaps the two selection modes and their pressed states. to the center of the current page, using the same sizing as image drop (240pt wide at most, with additional proportional scaling when needed to fit the page). Drawing controls are wired to PdfrxViewer.setAnnotationTool / setAnnotationStyle. Requires a PdfrxProvider ancestor and the viewer's interactiveAnnotations option (on by default). Import @pdfrx/react/styles.css for the default look, or style the pdfrx-annot-* class names yourself.

      Parameters

      Returns ReactNode

      The resulting ReactNode.