hallo all together

i have a huge problem! if i m adding paragraphs to a cell the aligment of 
align_middle isn t working. so any ideas how i could fix it?

thanks for your help

Simon

sourcecode:

For n As Integer = 0 To splitter.Length - 1
                    
                            pstring = New 
Paragraph(splitter(n).Replace("color=red>", ""), fred)
                            pstring.SetAlignment(Element.ALIGN_MIDDLE)
                            pstring.Alignment = Element.ALIGN_MIDDLE
                        
                        cell.AddElement(pstring)

                        cell.HorizontalAlignment = Element.ALIGN_CENTER
                        cell.VerticalAlignment = Element.ALIGN_MIDDLE

 Next

 table.AddCell(cell)

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

-- 
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: http://www.gmx.net/de/go/messenger03

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to