|PDFsharp & MigraDoc Foundation
|Can pdfSharp remove annotations on a PDF page?
|Page 1 of 1|
|Author:||snuuby [ Sun Apr 19, 2020 9:38 pm ]|
|Post subject:||Can pdfSharp remove annotations on a PDF page?|
I've searched around and nobody seems to answer this. I tried using the pdfAnnotations.Remove() method, but that doesn't seem to work. Am i doing something wrong?
|Author:||wiliek [ Wed Sep 30, 2020 4:32 am ]|
|Post subject:||Re: Can pdfSharp remove annotations on a PDF page?|
foreach (var annot in page.Annotations.ToList().OfType<PdfAnnotation>())
//if some condition then
//save the document
This worked for me.
|Page 1 of 1||All times are UTC|
|Powered by phpBB® Forum Software © phpBB Group