Jump to content
Server Maintenance This Week. ×

Automatic text resizing in a field?


This topic is 5439 days old. Please don't post here. Open a new topic instead.

Recommended Posts

One of my tables has a certificate layout that, when printed, generates what is essentially a Certificate of Merit with the person's name on it. That layout has, among other things, a field for the person's name. The field's default text size is 60pt and it works fine.

The problem is that sometimes there will be more than one name in that field. It's even possible that there could be many names in there (like, 15 or more) and 60 point type won't cut it.

I've managed to set up conditional formatting that will adjust font size based on the number of words. Generally this works well except when I have really long names to contend with. So when it's "John Smith, Mary Jones" it works fine, but when I have "Savatore Mattuciliogne, Belvedere Fredericks Wellington" it doesn't work so hot.

Is there any way to basically dynamically scale the text in a given field based on the amount of content that's in that field? (The way Acrobat does this with PDF forms is exactly what I need.)

Link to comment
Share on other sites

Then I'm afraid that there is no easy solution for you. You may be able to use patterncount to separate out how many normal, narrow, and wide characters you have and then devise some sort of reasonable formula with it. I dont think you will have it down to an Exact science, but it may be close.

Link to comment
Share on other sites

This topic is 5439 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.