Search results

CustomStamp API in Angular PDF Viewer API component

The CustomStamp module is used to provide the custom stamp added in stamp menu of the PDF Viewer toolbar.

<div id="pdfViewer" style="height: 100%;width: 100%;"></div>
 let viewer: PdfViewer = new PdfViewer();
 // Add your custom stamp image source as base64 image.
 viewer.customStamp = [
      {
         customStampName: 'Sample',
         customStampImageSource: "data:image/png;base64, Syncfusion pdf viewer"
     }
 ];
 viewer.appendTo("#pdfViewer");

Properties

customStampImageSource

string

Defines the custom stamp images source to be added in stamp menu of the PDF Viewer toolbar.

customStampName

string

Defines the custom stamp name to be added in stamp menu of the PDF Viewer toolbar.