Arrow annotations
Hi,
My question is about Arrow annotations and PdfDocumentView. There is no PdfDocumentView.PdfViewerAnnotationMode.Arrow so could you please let me know how to add an arrow annotation? Thought it would work similar to using PDFViewer.AnnotationMode = PdfDocumentView.PdfViewerAnnotationMode.Line, isn't it?Thanks in advance,
Martin
Martin
SIGN IN To post a reply.
5 Replies
1 reply marked as answer
DG
Deepak Gunasekaran
Syncfusion Team
June 17, 2020 11:15 AM UTC
Hi Martin,
Since “Arrow” annotation is a subtype of the “Line” annotation, we do not have any specific API mode for the “Arrow” annotation. You can draw an arrow annotation by specifying the AnnotationMode as Line and by setting the begin or end line style using the ArrowAnnotationSettings as mentioned in the following documentation.
However, we are unable to draw an arrow annotation as expected using `PdfDocumentView`. We are currently validating this and will provide you further details on 19th June 2020.
Regards,
Deepak G
DG
Deepak Gunasekaran
Syncfusion Team
June 18, 2020 09:52 AM UTC
Hi Martin,
We have analyzed further on enabling the arrow annotation from code behind using PdfDocumentView and we do not have any APIs implemented to enable and draw arrow annotation from code. In future, we have plans to customize the start and end line style for the Line annotations, it will help you to draw arrow annotation in the PDF document from code behind. We have logged feature request for the same and the implementation of this feature can be tracked through the following feedback portal.
As of now, we recommend you use `PdfViewerControl` to add arrow annotations in the PDF document using our built-in toolbar. You can find the PdfViewerControl sample project from the following GitHub location: https://github.com/syncfusion/wpf-demos/tree/master/PDF%20Viewer/Shapes/Shapes
Regards,
Deepak G
MP
Martin Pflueglmayer
June 19, 2020 12:43 PM UTC
Hi Deepak,
Many thanks for your feedback. In my case PdfDocumentView is used in a WPF user control and the complete PdfViewerControl would be some kind of 'overkill' as I just have to use PDF viewing, rotation and annotations - nothing else. I am looking forward when your solution for creating arrow annotations via code behind is available.
kind regards,
Martin
Martin
US
Uthandaraja Selva Sundara Kani
Syncfusion Team
June 22, 2020 07:29 AM UTC
Hi Martin,
Thanks for your update.
At present, we do not have any immediate plans to implement the support to “Customize the start and end style of the line annotation”. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest.
Based on our present commitments and the above parameters, this feature is expected to be implemented in our 2021 Volume 1 main release. We will let you know when this feature is implemented. You can now track the status of this feature request here,
Disclaimer: The date for the feature implementation is tentative and not a commitment on our parts.
Regards,
Uthandaraja S
VS
Vikas Sekar
Syncfusion Team
November 15, 2021 05:13 PM UTC
Hi Martin,
We have enabled drawing Arrow shapes using the AnnotationCommand and to customize it’s start and end styles programmatically. Included this in Essential Studio 2021 Volume 2 release v19.2.0.44 and you can download it under the following link.
Please find the below documentation details for more details.
Enable arrow annotation mode programmatically: https://help.syncfusion.com/wpf/pdf-viewer/working-with-command-binding/binding-commands-to-a-button#arrow-annotation
Customizing the start and end style: https://help.syncfusion.com/wpf/pdf-viewer/working-with-annotations/shape-annotations#how-to-set-the-begin-and-end-style-of-the-arrow
We thank you for your support and appreciate your patience in waiting. Please get in touch with us if you would require any further assistance.
Regards,
Vikas
Marked as answer
SIGN IN To post a reply.
- 5 Replies
- 4 Participants
- Marked answer
-
MP Martin Pflueglmayer
- Jun 16, 2020 10:09 AM UTC
- Nov 15, 2021 05:13 PM UTC