<ngx-extended-pdf-viewer #ngxExtendedPdfViewer [src]="selectedDocument.Url" height="80vh" [language]="pdfLocal" [pageViewMode]="'single'">
Asked
Active
Viewed 1,012 times
0
-
Which kind of signature do you want to manage ? DocuSign signature ? where is the signing user private key certificate stored ? on a usb token ? in an ldap directory ? on a hardware security module ? providing a digital signature is not a viewer problem. – Piero Feb 11 '21 at 08:35
-
@Pierre actually i need to set the signature in any place of the pdf, i will send the signature to the backend as a base46 – Faris Shomali Feb 11 '21 at 12:16
-
1You might fork ngx-extended-pdf-viewer and inject a layer for the user to let him draw a rectangle where he wants the signature to be. I did this with konva ( https://konvajs.org/ ). Not with ngx-extended-pdf-viewer but directly with pdfjs in angular, to let users add annotations. It's a hard work, but it's doable :) – Piero Feb 11 '21 at 16:43
2 Answers
1
Long story: I've documented the feature here: https://pdfviewer.net/extended-pdf-viewer/signatures
Short story: like mentioned before, it's simply a matter of the attribute [showUnverifiedSignatures]="true"

Stephan Rauh
- 3,069
- 2
- 18
- 37