PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Setting PDF/X version key
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1680
Page 1 of 1

Author:  lucena [ Sat Jun 04, 2011 5:43 pm ]
Post subject:  Setting PDF/X version key

Hi,
First of all, PDFSharp is an excellent tool. Thanks to the team for all their work.

My question: I'm generating a PDF for an application that requires the PDF/X Version Key to be set. Is it possible to do this from within PDFSharp?

Thanks,
-John

Author:  lucena [ Sat Jun 04, 2011 6:52 pm ]
Post subject:  Re: Setting PDF/X version key

I think I may have found the answer on my own:

pdfDocument.Info.Elements.Add("/GTS_PDFXVersion", new PdfString(strValue));

Seems to be working for me at the moment.
-John

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/