When I try to use the below code snippet to add wrapped text into an existing pdf.
//create PdfFileMend object to add text PdfFileMend mender = new PdfFileMend("input.pdf", "output.pdf");//create formatted text
FormattedText text = new FormattedText(“Aspose - Your File Format Experts!”, System.Drawing.Color.AliceBlue, System.Drawing.Color.Gray, Aspose.Pdf.Facades.FontStyle.Courier, EncodingType.Winansi, true, 14);//set whether to use Word Wrap or not and using which mode
mender.IsWordWrap = true;
mender.WrapMode = WordWrapMode.Default;//add text in the PDF file
mender.AddText(text, 1, 100, 200, 200, 400);//close PdfFileMend object
mender.Close();