Merging annotations with PDF on the server.

Q: I need to combinine original PDFs with annotations (comments/stamps
etc) added using Acrobat Online Collaboration via a web service.
Currently we can recombine the annotations/comments using Javascript on
the client machine, but I would like to be able to do this on the
server using a component. Can you tell me if PDFNet SDK can support
this feature?

You can use PDFNet SDK ( to programmatically merge
annotations (either on the client or on the server).

As a starting point you may want to take a look at AnnotationTest
sample project:

Another approach to annotation merging is using FDF (Forms Data Format)
merge file. This is illustrated in the following code sample:

... Initialize PDFNet ...
PDFDoc doc = new PDFDoc("test.pdf");

FDFDoc fdf_doc = new FDFDoc("merge.fdf");
Obj root = fdf_doc.GetRoot();
Obj src_annots = root.Get("FDF").Value().Get("Annots").Value();

// Import the annotaions to destination document.
Obj annots = doc.GetSDFDoc().ImportObj(src_annots, true);

// Now place the annotations on PDF pages.
// In this case we will place all annotations on the first page
Page page = doc.PageBegin().Current();
int num_annots = annots.Size();
for (int i=0; i<num_annots; ++i) {
  page.AnnotPushBack(new Annot(annots.GetAt(i)));

doc.Save("output.pdf", Doc.SaveOptions.e_linearized);