FormattedText AddText Method

What is the purpose of the rectangle passed in to the AddText method? It takes the coordinates for the lower LH corner and the upper RH corner of a rectangle to put the text in, yet it appears that the text always starts in the lower LH corner and is truncated at the end of the rectangle... Is that what it is supposed to do or am I doing something wrong? Does the text not wrap around to fill the rectangle?

I have a rectangular area I need to put text in. The size of the area varies with the document size, as does the amount of text and the text size. If AddText does not fill the rectangle, is there another method I can use or do I have to do it all manually?

Thanks

Steve

Hi Steve,

Please try to set IsWordWrap property to true before using AddText method. I hope this will serve the purpose. If you still find any problem, please do let us know.

We’re looking forward to help you out.
Regards,