Hey, I've run into a problem with writing long strings to the pdf page using .Canvas.DrawString().
A quick summary of what im doing.
PdfDocument doc = new PdfDocument();
PdfPageBase page = doc.Pages.Add(PdfPageSize.A4);
page.Canvas.DrawString(long sting, new PdfTrueTypeFont(new Font("Calibri Light", 12f, FontStyle.Regular)), new PdfSolidBrush(Color.Black), 0, y, format: new PdfStringFormat(PdfTextAlignment.Left));
I've tried adding margin to the page, but that didn't do any good.
The string still continues off the page.