Closed PouriaAmid closed 5 years ago
@PouriaAmid you might want to take a look at this blog article, particularly the practiceLayout and layoutTOC routines.
Thanks for reply.
The solution is to split the text in lines and add a new TextRun for each line.
foreach (var line in lines){ Text.AddRun(new TextRun(line, font, gs, ts, matrix.Translate(x, y))); y -= ts.FontSize; }
Hi, is there any simple way to create multiline text objects without breaking down the string into chars and create multiple text objects for each line?
Using .net framework and APFL 15.