Hello,
I always get only 4 lines, no matter how long the inserted text is. What am I doing wrong? Can anyone help me?
Here’s the code (VB):
Dim paragraph As New TextParagraph()
paragraph.Rectangle = New Rectangle(100, 400, 300, 700)
paragraph.FormattingOptions.WrapMode = TextFormattingOptions.WordWrapMode.ByWords
paragraph.VerticalAlignment = VerticalAlignment.Top
Dim tf = New TextFragment(“the quick brown fox jumps over the lazy dog 1 the quick brown fox jumps over the lazy dog 2 the quick brown fox jumps over the lazy dog 3 the quick brown fox jumps over the lazy dog4 the quick brown fox jumps over the lazy dog 5”)
paragraph.AppendLine(tf)
Dim TextBuilder = New TextBuilder(Page)
TextBuilder.AppendParagraph(paragraph)