randdevin Posted July 22, 2015 Share Posted July 22, 2015 What am I'm doing wrong? This should be a simple rule.. return CopyfitLine(" ", Field("Name"), "Arial",12,120,8, true); Returns: <f name="Arial"><z newsize=12> <setwidth newsize=12>JUSTIN WEBER Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted July 22, 2015 Share Posted July 22, 2015 You're not doing anything wrong. The text "JUSTIN WEBER" in 12 point Arial fits just fine in a frame 120 points (about 1.67 inches) wide. What different result were you expecting? Quote Link to comment Share on other sites More sharing options...
randdevin Posted July 22, 2015 Author Share Posted July 22, 2015 I know that text fits just fine.. But it's wanting to put in the <f name="Arial"><z newsize=12> <setwidth newsize=12> in front of the all the names.. I do have text that is to large so I would want to reduce those. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted July 22, 2015 Share Posted July 22, 2015 But it's wanting to put in the <f name="Arial"><z newsize=12> <setwidth newsize=12> in front of the all the names.. Do you mean that you see those markup tags in the output? You need to check the "Treat returned strings as tagged text" box in the Rule Editor. I do have text that is to large so I would want to reduce those. Yes, that's what the CopyfitLine function does. Quote Link to comment Share on other sites More sharing options...
randdevin Posted July 27, 2015 Author Share Posted July 27, 2015 That was it.. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.