Tab character in itext
I have write the code to create the report using itext.For that,i have to add the header which is like
BSJ 开发者_开发百科 Economy Report Date:31/12/10
For that i need to put the tab character(\t) between the above strings.But i can't find out the tab character in itext.I have used "\t" and "\t".This was not working.Please help me to resolve this issue.
There isn't one.
Sounds like a job for a 3-column table. Or perhaps a ColumnText drawing into the same rectangle with three different alignments?
Lots of options.
to put tab caracter. We do like that
p = new Paragraph();
p.setTabSettings(new TabSettings(56f));
p.add(Chunk.TABBING);
p.add(new Chunk("Hello World with tab."));
精彩评论