Hi Guys
I have attached a sample document for which im trying to flatten all the annotation in the document using
Method A:
'Dim pdfForm As New Aspose.Pdf.Facades.Form()
‘’ Open Document
'pdfForm.BindPdf(pSourceFile)
‘’ Flatten fields
'pdfForm.FlattenAllFields()
' pdfForm.Save(pSourceFile)
Method B:
Dim annotationEditor As New PdfAnnotationEditor()
’ Open Document
annotationEditor.BindPdf(pSourceFile)
annotationEditor.FlatteningAnnotations()
annotationEditor.Document.OptimizeSize = True
’ Save output
annotationEditor.Save(pSourceFile)
Neither of these methods produce the desired result…all the annotations remain editable
What am I missing
(PS would like to include sample doc but there does not seem to be a way to upload documents)
Using Aspose 17.5 Win 10 64