Welcome Guest Search | Active Topics | Sign In | Register

Can not set doc.Info.Author and Info.Keyword when the document is PdfStandard.PDF_A Options
Robin Gautier
Posted: Tuesday, July 28, 2015 1:31:56 PM
Rank: Newbie
Groups: Member

Joined: 7/28/2015
Posts: 9
Hi,

I was considering to buy EO.pdf for my firm but in my proof of concept, I encountered the following issue:

When the standard of the created PDF is PDF_A, the Info AUthor and the info Keyword is not set in the result pdf.

PdfDocument doc = new PdfDocument();
doc.Standard = PdfStandard.PDF_A;
doc.Info.Author = "Author"; //not set
doc.Info.Title = "Title";
doc.Info.Creator = "Creator";
doc.Info.Keywords = "Keywords"; //not set
doc.Info.Producer = "Producer";
doc.Info.Subject = "Subject";
doc.Info.Title = "Title";
HtmlToPdf.Options.BaseUrl = BaseUrl;
HtmlToPdf.ConvertHtml(HTML, doc);
doc.Save("C:\\Temp\\test.pdf");

Is this a known issue?

Thanks
eo_support
Posted: Tuesday, July 28, 2015 5:06:24 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,082
Hi,

We have looked into this issue and it appears it's an Adobe Reader issue. If you open the created PDF file with a text editor, you will see Author and Keywords are correctly written in the file. However Adobe Reader won't display them. If you use another PDF Reader (such as Fox PDF Reader), you will those information.

Thanks!
Robin Gautier
Posted: Tuesday, July 28, 2015 5:38:02 PM
Rank: Newbie
Groups: Member

Joined: 7/28/2015
Posts: 9
Thank you for the help


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.