How to create multi path freehand/ink annotations using PDFViewWPF?

22 views
Skip to first unread message

Ryan

unread,
Feb 17, 2016, 2:22:56 PM2/17/16
to PDFTron PDFNet SDK
Question:
I am using PDFViewWPF control for .Net4 and I would like to create a Ink annotation that is a single annotation, but with multiple stylus drawn (disconnected) paths. How do I do this?

Answer:
If you always want this behaviour, then first set the CreateMultiPathAnnotation property to true in the FreehandCreate constructor. This will keep the tool alive while the users starts and ends multiple paths.

Once you decide to finish, perhaps with a specific button press, or maybe after not drawing for a certain time, or the tool changes, you simply call FreehandCreate.Create to commit the new annotation.
Reply all
Reply to author
Forward
0 new messages