PdfReader r = new PdfReader(...);
r.Catalog.Put(PdfName.LANG, new PdfString("EN-US"));
PdfStamper stp = new PdfStamper(r, ...);
stp.Close();Paulo > -----Original Message----- > From: Selvakumar, Sivagnanam [mailto:[email protected]] > Sent: Thursday, December 10, 2009 5:48 AM > To: [email protected] > Subject: [iText-questions] Set Document Language > > Dear All, > > > > We have a bunch of pdfs which are generated from PS->PDF > through typesetting application. In this have to set Document > language for all the document. > > > > Acrobat Professional->Document Properties->Advanced->Reading > options->Required language : Is there any way to set document > language using ITextSharp? > > > > Thanks, > > Selvakumar > > Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
