We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Wrapping text in Pdf documents

Hi,


We are using Aspose.Pdf.dll version 7.6.0.0. I need to wrap text which is printed using TextStap class. We are unable to find any property which is used to wrap text. Please help.

Thanks,
Bhaskar V

Hi Bhaskar,


Thanks for your inquiry. You can use use WordWrap property of TextStamp object for text wrapping while adding text stamp. Hopefully it will help you to accomplish the task. If there is any difference in you requirement and my understanding, then please share your sample code and more details. So we will look into it and guide you accordingly.

…<o:p></o:p>

…<o:p></o:p>

//create text stamp<o:p></o:p>

TextStamp textStamp = new TextStamp(formatText);<o:p></o:p>

textStamp.WordWrap = true;<o:p></o:p>

…<o:p></o:p>


Please feel free to contact us for any further assistance.


Best Regards,