I would like to use bounding boxes on this component to highlight areas of the document from which information has been extracted. I have the bounding box data which tells me what part of the page the box should be on in JSON format (e.g. "boundingBox":[8.4137,1.5444,8.8424,1.5353,8.8424,1.8721,8.4137,1.863]).
Is the use of bounding boxes supported by this component?
Hi Roisin,
In it's current state, this component does not support the use of bounding boxes or adding annotations programmatically. You can only view existing annotations.
The Adobe API does support creating the annotations programmatically and this can be extended to incude these features. Maybe it is something I can include in a future release. But unfortunately i don't know how soon that will be.
API References can be found here:
https://opensource.adobe.com/pdfembed-sdk-docs/howtos_comments.html#annotations-api-overview
https://github.com/adobe/pdf-embed-api-samples/tree/master/More%20Samples/PDF%20Annotations%20APIs/CRUD%20APIs
Hi Matthew,
Ok, thanks for the information and documentation!
Kind Regards,
Roisin