Add Image with annotation

How can I add a base64 image as an annotation in pdfviewer?

1 Reply 1 reply marked as answer

AA Akshaya Arivoli Syncfusion Team November 25, 2020 09:30 AM UTC

Hi Julio, 

Thank you for contacting Syncfusion support. 

We can achieve your requirement your requirement by using the custom stamp option available in PDF Viewer. We can add the custom stamp using the PDF viewer toolbar or from the code snippet. 

Note: The custom stamp annotation and their comments will be preserved on downloading.  

viewer.customStampSettings = { customStamps: [{ customStampImageSource: "", customStampName: "image" }], isAddToMenu: true };  

  




Please try it and revert with more details about your requirement and the use case if you still have any concerns. 



Regards, 
Akshaya 


Marked as answer
Loader.
Up arrow icon