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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PdfWordWrapType.None disappears and PdfWordWrapType.WordOnly not working for text within a PdfGrid

Thread ID:





142297 Jan 25,2019 05:56 PM UTC Jan 28,2019 04:59 PM UTC ASP.NET Core - EJ 2 1
Tags: PDF
Ricky Brooks
Asked On January 25, 2019 05:56 PM UTC

Hey guys,

I was hoping to have word-wrapping removed for an aggregate row added to the last row of a PdfGrid, so that the sum would not wrap if it ended up being larger than the column. I tried setting the WordWrap property of the PdfStringFormat, unsure of whether it would clip or extend past the column. Instead the text disappeared!

Likewise the WordOnly setting appears to function the same as Word, which does not seem correct.

Is this a known issue? I'm currently working through the Syncfusion.Pdf.NETStandard library, version
Also, can you let me know if the expected behavior will be clipping or text running past the boundries?


Karthikeyan Chandrasekar [Syncfusion]
Replied On January 28, 2019 04:59 PM UTC

Hi Ricky, 
Please find the description for different WordWrap types in string format: 
// Text wrapping between lines when formatting within a rectangle is disabled. 
format.WordWrap = PdfWordWrapType.None; 
//Text is wrapped by words. If there is a word that is longer than bounds' width, this word is wrapped by characters. 
format.WordWrap = PdfWordWrapType.Word; 
//Text is wrapped by words. If there is a word that is longer than bounds' width, it won't be wrapped at all 
format.WordWrap = PdfWordWrapType.WordOnly; 
// Text is wrapped by characters. In this case the word at the end of the text line can be split. 
format.WordWrap = PdfWordWrapType.Character; 
Note: By default the word wrap type for the string format in Grid is “Word” type. 

We have tested different word wrap type in the PdfStringFormat and created sample PDF for each. Could you please confirm are you reporting this behavior. 



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

Live Chat Icon For mobile
Live Chat Icon