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.
Unfortunately, activation email could not send to your email. Please try again.

text clipping

Thread ID:

Created:

Updated:

Platform:

Replies:

42572 Apr 1,2006 02:08 AM Apr 3,2006 07:34 AM Windows Forms 1
loading
Tags: PDF
Mark Hargreaves
Asked On April 1, 2006 02:08 AM

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 07:34 AM

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.

CONFIRMATION

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.

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.

;