Error when saving annotated PDF

Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.

Moderator: Alex

Post Reply
mick85
Posts: 1
Joined: Tue Jul 21, 2015 3:37 am

Error when saving annotated PDF

Post by mick85 »

Hi,

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!
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: Error when saving annotated PDF

Post by Alex »

Hi,

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

Best regards, Alexander
Post Reply