Arrow annotation

The arrow annotation in the Blazor PDF Viewer is a two-headed arrow.  The arrow annotation in the Xamarin PDF Viewer is a one-headed arrow.  For my purposes, the one-headed arrow is more appropriate.  Is there a way in Blazor PDF Viewer to show a one-headed arrow.

Regards,

Arthur


2 Replies

VS Vasugi Sivajothi Syncfusion Team November 8, 2021 11:14 AM UTC

Hi Arthur, 
 
Thank you for contacting Syncfusion support. 
 
You can customize the arrow annotation using the ArrowSettings API. Please refer to the below code snippet. 
To remove the starting arrow: 
Code Snippet: 
 
@using Syncfusion.Blazor.PdfViewer 
@using Syncfusion.Blazor.PdfViewerServer 
 
 
<SfPdfViewerServer @ref="Viewer" DocumentPath="@DocumentPath" ArrowSettings="@ArrowSettings" Height="640px" Width="100%"> 
</SfPdfViewerServer> 
 
@code{ 
    PdfViewerArrowSettings ArrowSettings = new PdfViewerArrowSettings { LineHeadStartStyle=LineHeadStyle.None }; 
} 
 
To remove the end arrow: 
Code Snippet: 
@using Syncfusion.Blazor.PdfViewer 
@using Syncfusion.Blazor.PdfViewerServer 
 
 
<SfPdfViewerServer @ref="Viewer" DocumentPath="@DocumentPath" ArrowSettings="@ArrowSettings" Height="640px" Width="100%"> 
</SfPdfViewerServer> 
 
 
@code{ 
 
    PdfViewerArrowSettings ArrowSettings = new PdfViewerArrowSettings { LineHeadEndStyle = LineHeadStyle.None }; 
} 
 
 
 
Kindly try this and let us know if you have any concerns about this. 
 
Regards, 
Vasugi. 



AB Arthur Butler November 10, 2021 07:23 AM UTC

Thank you.


Loader.
Up arrow icon