stephanrauh / ngx-extended-pdf-viewer

A full-blown PDF viewer for Angular 16, 17, and beyond
https://pdfviewer.net
Apache License 2.0
450 stars 167 forks source link

PDF Stamp Html Dragged #2313

Closed elvispdosreis closed 1 month ago

elvispdosreis commented 2 months ago

I need to create a stamp to mark a signature area, I need to add an HTML element that shows me the x and y position, and the element can be dragged between pages, has anyone already implemented this solution?

image

stephanrauh commented 1 month ago

I'm closing the ticket now because there's nothing I can do and because the community didn't chime in in five weeks.

To add an HTML element on top of the PDF file, you can capture the event (textLayerRendered) and add the HTML element to the text layer.