Class PdfViewerCustomStampSettings
Represents the settings for custom stamps in a PDF viewer component in Blazor applications.
Inheritance
PdfViewerCustomStampSettings
Assembly: Syncfusion.Blazor.SfPdfViewer.dll
Syntax
public class PdfViewerCustomStampSettings : PdfViewerHandwrittenSignatureSettings
Examples
Below is an example of how to use PdfViewerCustomStampSettings in a Blazor component:
@code {
public List<PdfViewerCustomStamp> pdfViewerCustomStamps = new List<PdfViewerCustomStamp>()
{
new PdfViewerCustomStamp()
{
CustomStampName = "Stamp",
// Replace the 'ImageBase64' with the actual base64 string of the image.
CustomStampImageSource ="ImageBase64"
}
};
}
Constructors
PdfViewerCustomStampSettings()
Declaration
public PdfViewerCustomStampSettings()
Properties
CustomStamps
Gets or sets a collection of custom stamps for the PDF Viewer.
Declaration
[Parameter]
[JsonPropertyName("customStamps")]
public List<PdfViewerCustomStamp> CustomStamps { get; set; }
Property Value
EnableCustomStamp
If it is set as false, then we can't add the custom stamp annoation in the PDF Viewer. By default it is true.
Declaration
[Parameter]
[JsonPropertyName("enableCustomStamp")]
public bool EnableCustomStamp { get; set; }
Property Value
Specifies to maintain the newly added custom stamp element in the menu items. By default it is false
Declaration
[Parameter]
[JsonPropertyName("isAddToMenu")]
public bool IsAddToMenu { get; set; }
Property Value
JsNamespace
Declaration
protected override string JsNamespace { get; set; }
Property Value
Overrides
JsProperty
Declaration
protected override string JsProperty { get; set; }
Property Value
Overrides
MainParent
Declaration
protected override SfBaseComponent MainParent { get; set; }
Property Value
Overrides
SfTagIndex
Declaration
protected override int SfTagIndex { get; set; }
Property Value
Overrides
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Overrides
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Overrides