0

I'm going to build a Windows Store app in C#, with the capability to annotate PDF's Is there a library that supports PDF annotations for Windows store apps/WinRT?

0

2 Answers 2

1

The company I work for develops the XFINIUM.PDF library. It supports WinRT platform and it supports adding annotations to PDF files.

You can add a text annotation to an existing PDF file like this:

// Load the PDF file
PdfFixedDocument document = new PdfFixedDocument(sourcePdfStream);
// Create the annotation and add it to the first page
PdfTextAnnotation ta = new PdfTextAnnotation();
document.Pages[0].Annotations.Add(ta);
// Set the annotation properties
ta.Location = new PdfPoint(50, 50);
ta.Author = "John doe";
ta.Contents = "I am a text annotation.";
ta.IconName = "Note";
// Save the document
document.Save(destinationPdfStream)
4
  • Thanks @Mihai for the support.But there is no pdf viewer for your library.is there any? Oct 22, 2014 at 10:01
  • Not yet but it will be during Q1 2015 Oct 26, 2014 at 9:05
  • @MihaiIancu How about now? What's the status of development of viewer for WinRT from Xfinium? We are looking forward to your components... May 25, 2015 at 11:44
  • The PDF rendering engine is ready, we're working on the viewer control around it. It will be available soon. May 26, 2015 at 5:07
1

Try Amyuni PDF Creator for WinRT, the library allows adding annotations (also pictures, lines, or text), and it provides a graphic component that can display the file on the screen.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.