Printing Partners Posted August 9, 2016 Share Posted August 9, 2016 Is it possible to put an Inline Graphic in a CopyfitLine statement? I have a business card that has two lines of phone numbers and email with icons. I would like the email address to Copyfit but not the phone numbers. Line 1: Phone Icon, Phone, Cell Icon, Cell, Email Icon, Email I have been trying to get the image to come in as an inline resource. But I have had no success. Below is the script I am working with. It only has one field right now, trying to troubleshoot why the icon won't come in. if (Field("Email") != "") return CopyfitLine(Resource("FCBCIconsEmail.pdf") + " ", Field("Email")+ "@" +Field("emailDomain"), "Vaud", 8, 228, 4, true); else return ""; I may also be going at this all wrong. Any direction would be helpful. Thanks, Steve Quote Link to comment Share on other sites More sharing options...
step Posted August 9, 2016 Share Posted August 9, 2016 Try this: if (Field("Email") != "") return CopyfitLine(Resource("FCBCIconsEmail.pdf")[color="Red"].content[/color] + " ", Field("Email")+ "@" +Field("emailDomain"), "Vaud", 8, 228, 4, true); else return ""; Quote Link to comment Share on other sites More sharing options...
Printing Partners Posted August 9, 2016 Author Share Posted August 9, 2016 That was too easy. Worked perfectly. Thanks for the help. Now to make the rest of it work. 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.