Page 1 of 1

Error when saving annotated PDF

Posted: Tue Jul 21, 2015 3:48 am
by mick85

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:

Code: Select all

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!

Re: Error when saving annotated PDF

Posted: Tue Jul 21, 2015 9:13 am
by Alex

Could you send us a small working project which demonstrates your problem? If yes, please send your project to We need reproduce your problem.

Best regards, Alexander