jwhittaker Posted October 8, 2015 Share Posted October 8, 2015 I have a 2 sided flyer with multiple text boxes with multiple text fields using different size of fonts and different number of fields. The customer that doesn't want to copyfit any text but wants to return red text saying "You have entered too much text" in that specific text box. Since there are several text fields with different fonts and sizes in each text box, I can’t really use the calculate text width because of all the different fields, fonts, and sizes. I have named all the text boxes and text1, text2, text3, etc. My logic would be if textbox “text1” has to copyfit return, in red, "You have entered too much text" else return whatever they entered. I just can’t figure out the syntax I was thinking of changing the 25 and 400 to 100 in the copyfit rule but I don’t know how to select the textbox that has too much text and change the text to something else. if (!Copyfit(new MagnifyAttributes("text", 100, 100, 6, 72))) ReportWarning("Could not copyfit text in flow " + FusionPro.Composition.CurrentFlow.name); Quote Link to comment Share on other sites More sharing options...
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.