Long text geting out of edge in footer of existing pdf

I add text in footer in existing pdf document and my text out of edge. Whan i doing wrong?


var doc = new Aspose.Pdf.Document(“test.pdf”);
TextStamp ts =
new TextStamp(
@“Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text. Long text.”);
ts.LeftMargin = 100;
ts.BottomMargin = 20;
ts.RightMargin = 10;
ts.VerticalAlignment = VerticalAlignment.Bottom;
ts.HorizontalAlignment = HorizontalAlignment.Left;
foreach (Page page in doc.Pages)
{
page.AddStamp(ts);
}
doc.Save(“test.pdf”);

Hi Sergey,

Thanks for your inquiry. I have tested your scenario with shared code using Aspose.Pdf for .NET 11.5.0 and managed to observe the reported issue. For further investigation, I have logged an issue in our issue tracking system as PDFNEWNET-40722 and also linked your request to it. We will keep you updated via this thread regarding the issue status.

We are sorry for the inconvenience caused.

Best Regards,

Thanks for your reply. How i can solve my problem now?

Hi Sergey,


Thanks for contacting support.

As we recently have noticed earlier reported issue, so its pending for review and unless we have investigated the problem in details, we may not be able to share the possible workaround. However as soon as we have definite updates regarding its resolution, we will let you know.