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. Image for the cookie policy date
close icon

text clipping

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?

1 Reply

AJ Ajish Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon