Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Feb 06, 2014 4:52 pm

Is it possible to draw a string using a rect to chop off exceding text, and optionnaly putting an ellipse if the string is chopped off? I don't want any wordwrap, the only available option is to use "WordWrap.None", but if the text if too large, it is not displaying at all.

Let say I want to write "This is a test string" in a 50x20 rect, I want to see on the pdf "This is a ...".

Thanks

gumby
 
Posts: 21
Joined: Tue Jan 28, 2014 8:25 pm

Fri Feb 07, 2014 7:04 am

Hello gumby,

We are sorry that our product doesn’t support the feature at present. And you have to write your own code to fulfill that. Sorry for the inconvenience.
If you have any questions, welcome to get it back to us.

Regards,
Benjamin
E-iceblue support team
User avatar

Benjamin Du
 
Posts: 82
Joined: Thu Jul 25, 2013 2:38 am

Return to Spire.PDF