We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Determining the height of Word wrapped text

Thread ID:





110579 Aug 13,2013 02:54 PM UTC Aug 19,2013 04:57 AM UTC ASP.NET Web Forms (Classic) 1
Tags: PDF
Bert Sirkin
Asked On August 13, 2013 02:54 PM UTC

I need to wrap text that could vary in length by quite a bit. Is there any way to predetermine how much vertical space the text will take up when wrapped, based on the font and font size?


Praveenkumar H [Syncfusion]
Replied On August 19, 2013 04:57 AM UTC

Hi Bert,

Thank you for using Syncfusion products,

Yes , we can get the vertical space taken by the wrapped text using following code snippet.

 PdfLayoutResult result= element.Draw(page,rect);

The sample is attached for your reference,

Please let us know if you have any concern.

With Regards,



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon