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

text clipping

Thread ID:





42572 Apr 1,2006 07:08 AM UTC Apr 3,2006 11:34 AM UTC WinForms 1
Tags: PDF
Mark Hargreaves
Asked On April 1, 2006 07:08 AM UTC

Hi all Could anyone tell me how to detect if text has been clipped in a ''Graphics.DrawMultiText('' and if the clipped text can then be retrieved so that it can be put into another text field?

Ajish [Syncfusion]
Replied On April 3, 2006 11:34 AM UTC

Hi Mark, In Essential PDF we do have support for drawing multi line text within a specified rectangle. We can get the string that fits inside this rectangle and use it to draw on another rectangle. The DrawMultiText() method of IPDFGraphics return string that do don’t fit inside the specified rectangle this can be used to get the clipped text. Here is a sample attached for you to refer with. TextClipping.zip Please let me know if you have any other questions. Thanks, Ajish.


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