The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

ashryar (1) [Avatar] Offline

I am trying to display vertical text in my pdf but vertical text is displaying it horizontally which I don't want.

Can anyone please help me out with this.My code:
PdfContentByte cb = writer.getDirectContent();
VerticalText vt=new VerticalText(cb);
Chunk trxHeader1 = new Chunk("Hello to all", font9);
vt.setVerticalLayout(100,400,5, 40, -4);

Please guide me..if I am making any mistake?

blowagie (284) [Avatar] Offline
Re: About vertical text