Hi Egidio,
We have provided the toolbar customization for Blazor PDF Viewer below.
UG Documentation - https://blazor.syncfusion.com/documentation/pdfviewer/toolbar-customization
We can also open the signature dialog box programmatically. Kindly find the code snippet and documentation link for it below.
Code snippet :
@page "/pdf-viewer/handwritten-signature"
@using Syncfusion.Blazor.PdfViewerServer
@using Syncfusion.Blazor.PdfViewer
@inherits SampleBaseComponent;
<div class="control-section">
<SfPdfViewerServer @ref="viewer" DocumentPath="@DocumentPath" Height="640px" Width="100%">
<PdfViewerEvents DocumentLoaded="DocumentLoad"></PdfViewerEvents>
</SfPdfViewerServer>
</div>
@code {
SfPdfViewerServer viewer;
public void DocumentLoad(LoadEventArgs args)
{
viewer.SetAnnotationMode(AnnotationType.HandWrittenSignature);
}
private string DocumentPath { get; set; } = "wwwroot/data/pdfviewer/hand-written-signature.pdf";
}
Documentation - https://blazor.syncfusion.com/demos/pdf-viewer/handwritten-signature?theme=fluent
Kindly revert to us if you still have any concerns.
Regards,
Visvesvar K V