I'm receiving the following error when attempting to save an annotated PDF: "Error emailing support: ' |', hexadecimal value 0x05, is an invalid character. Line 14, position 41." After clicking 'OK' another error dialog comes up: "Unexpected error:Object 2 is not found."
The code i'm using to save:
Vintasoft.Imaging.Codecs.Encoders.PdfEncoder pdfEncoder = new Vintasoft.Imaging.Codecs.Encoders.PdfEncoder(); pdfEncoder.AnnotationsFormat = AnnotationsFormat.VintasoftBinary; pdfEncoder.Settings.GenerateAnnotationAppearance = true; annotationViewer1.Images.SaveSync(_filePath, pdfEncoder);I have no trouble opening the document, highlighting text and saving with Adobe Reader; so I don't think it's due to the file being corrupted.
Any help would be appreciated. Thanks!
