I wasn't trying to center the image; I want it left-justified inside  
of the column with text flowing around to the right.  The centering  
seems to be the default behavior.   I set the image alignment  
properties (using Image.setAlignment(Image.LEFT | Image.TEXTWRAP),  
similar to what is in the examples, and it looks like the image  
alignment is being ignored.  Thus the question.

I can probably force the behavior with irregular columns, but it will  
take a lot more work on my part.  I was hoping there was a simpler  
solution.

On May 20, 2010, at 9:28 AM, 1T3XT BVBA wrote:

> On 05/20/2010 01:20 AM, [email protected] wrote:
>> I'm trying to create an image with wrapped text inside of a  
>> ColumnText
>> column.  The image displays OK, as does the text, but the image is
>> centered and the text appears below it.  It looks like the image
>> alignment qualifiers are being ignored in the ColumnText context.   
>> I'm
>> using iText 5.0.1.  A code snippet is below.
>>
>> Any suggestions?
> No, that's not supported.
> Maybe irregular columns can help, but you can't "center" an image and
> have the text flow around it.
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.itextpdf.com/book/
> 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/


------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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/

Reply via email to