Overview
For use cases when needing to display bounding boxes within a pdf and provide auto-scrolling to those locations from interface actions.
Key Features & Functionality
Parameters:
Example Usage:
reconcileDocumentViewer( documentUrl: document( <docId>, "url" ), boundingBoxes: { a!map( id: "<bounding box ID>", text: "<text in box (used for search)>", pageNumber: <page number of box>, geometry: {left: <left coord>, top: <top coord>, width: <width>, height: <height>} ), ...more bounding boxes }, interactionIdValue: local!interactionId, /* Just provide a local variable seeded with -1 */ interactionIdSaveInto: local!interaction, highlightedBoxId: ri!highlightedBox, /* This controls which box id is highlighted */ clickedBoundingBox: ri!selectedBox /* This is which box id was clicked in the viewer */)