The PDF Viewer control provides options to add, edit, delete and rotate the following stamp annotation in the PDF documents:
The stamp annotations can be added to the PDF document using the annotation toolbar.
In the pan mode, if the stamp annotation mode is entered, the PDF Viewer control will switch to text select mode.
The JPG and JPEG image format are only supported in custom stamp annotations.
The properties of the stamp annotation can be set before creating the control using StampSettings.
After editing the default opacity using the Edit Opacity tool, they will be changed to the selected values. Refer to the following code snippet to set the default sticky note annotation settings.
@using Syncfusion.Blazor
@using Syncfusion.Blazor.PdfViewerServer
<SfPdfViewerServer @ref="@viewer" DocumentPath="@DocumentPath" StampSettings="@StampSettings" >
</SfPdfViewerServer>
@code{
SfPdfViewerServer viewer;
private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succinctly.pdf";
PdfViewerStampSettings StampSettings = new PdfViewerStampSettings {Opacity=0.3,Author="Blazor" };
}