Im going to build a windows store app in c#,in which i want to annotate PDF's.is there a better library to PDF annotations for Windows store apps/WinRT
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)
-
Thanks @Mihai for the support.But there is no pdf viewer for your library.is there any? – Migara Kulasekara Oct 22 '14 at 10:01
-
-
@MihaiIancu How about now? What's the status of development of viewer for WinRT from Xfinium? We are looking forward to your components... – Oleksandr Zolotarov May 25 '15 at 11:44
-
The PDF rendering engine is ready, we're working on the viewer control around it. It will be available soon. – Mihai Iancu May 26 '15 at 5:07
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.