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

Filling a form field

If you have a form field on a PDF that is multilined, is there a way to tell if the string you are setting the value to be is greater than the viewable area? For example if you have a field that allows approx. 2000 characters but the value is much longer, is there a function that will return the portion that is not will not be viewable on the pdf when it is rendered? Obviously I can parse the string and figure this out, but on the chance there is functionality already there ...

Thanks

Chad

P.S. Thanks for the previous answer regarding merging PDFs

1 Reply

DK Dhivya K Syncfusion Team January 18, 2007 02:01 PM UTC

Hi Chad,

Thanks for the update.

We can do it by comparing the rectangle area of the text box and measureString value of the text entered.

Here is a sample for your reference.
formfill.zip

Please take a look into it and let me know if it helps.

Regards,
Dhivya.

Loader.
Live Chat Icon For mobile
Up arrow icon