I want to summarize the annotations of a PDF

47 views
Skip to first unread message

Ryan

unread,
Oct 27, 2016, 6:07:18 PM10/27/16
to PDFTron PDFNet SDK
Question:

I see that PDFNet has a print option to summarize some of the annotations in a PDF, such as text highlights. However I want to customize how it works. I am on Windows (WPF).

Answer:

Windows offers a FlowDocument interface that makes it easy to create a document with customized layout. Also, our .Net 4 SDK comes with a Xaml2PdfTest sample project that can convert a FlowDocument to a PDF.

If you take the following attached code, and drop it into the Xaml2PdfTest project, then you can see the start of a summarize annotations extension. You can customize from there. This code includes how to get the information that you might want to include.


Xaml2PdfTest.cs
Reply all
Reply to author
Forward
0 new messages