开发者

iText paragraph limit

I've to print text to a PDF file. Th开发者_JAVA百科is text must not exceed a width, like a textbox where the text wraps. I'm using iText with Visual Basic .NET.


You are looking for ColumnText in iText.


You can use ColumText and among others set the width (Java code):

ColumnText body_column = new ColumnText(writer.getDirectContent());
body_column.setSimpleColumn(1, 50, 569, 800);   /// Java implementation.

You should look for VB.net implementation for Columntext.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜