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

Free Support Forum - aspose.com

Textframe textwrapping

I want to stop my table column textframes wrapping text and breaking up sentences and words. To do this I need to find the width in pixels of the paragraph I want to add so that I can resize the textframe in a table column before adding and prevent textwrapping. So how do I get a paragraphs width in pixels.

regards

Harry

Dear Harry,

It is not possible with Aspose.Slides to take paragraph text length in pixels.

But I think, if you do a little search on internet, how to work with fonts in C#/VB.NET, you might find some code examples, which can help you in determining the string width in pixels given the string, font name and font height.