I use Spire PDF for moving annotation from a PDF to another in C#.
It works for almost all anotations but I think it doesn't work for "circle annotation" (or oval)
I use this kind of code :
- Code: Select all
for (int a = 0; a < inputSpire.Pages[0].AnnotationsWidget.Count; a++)
{
if (inputSpire.Pages[0].AnnotationsWidget[a] is Spire.Pdf.Annotations.pdf)
{
PdfTextMarkupAnnotationWidget tma = inputSpire.Pages[0].AnnotationsWidget[a] as PdfTextMarkupAnnotationWidget
}
}
This is the code of the annotation from a a fdf file
/NM (65c01eed-9949-4f77-b0adb36c36b2146b)
/RD [0.5 0.5 0.5 0.5]
/Page 0
/Rect [183.023367 532.856964 318.040605 643.868832]
/Subj (Oval - annotation)
/Subtype /Circle
In attachement a photo of the annotation.
Thanks for your help,