Hi Lorenzo,
You can draw long text using “PdfTextElement” class and you can automatically paginate the text to multiple pages, please refer the following code snippet.
PdfDocument doc = new PdfDocument();
PdfPage page = doc.Pages.Add();
PdfTextElement element = new PdfTextElement(longText);
PdfLayoutFormat format = new PdfLayoutFormat();
format.Layout = PdfLayoutType.Paginate;
element.Draw(page, 0, 0,format);
MemoryStream stream = new MemoryStream();
doc.Save(stream);
doc.Close(true);
Please let us know if you need further assistance.
With Regards,
Praveen