I’m using the Aspose.PDF library to combine multiple pdfs into a single pdf. I have a pdf with annotations in it and whenever I go to add those pages to the new combined pdf I get the following error:
Exception: An attempt to create annotation using invalid dictionary.
Stack: System.ArgumentException: An attempt to create annotation using invalid dictionary.
at Aspose.Pdf.Annotations.Annotation.(??? , Page )
at Aspose.Pdf.Annotations.AnnotationCollection.…ctor(List`1 , Page )
at Aspose.Pdf.PageCollection.(Page )
at Aspose.Pdf.PageCollection.(Page , ??? )
at Aspose.Pdf.PageCollection.(ICollection , ??? )
Is there something I have to do before I can combine pdfs with annotations?