Jump to content

Gradient fill color within a Text Frame


blackbelt60

Recommended Posts

Hello. I created an OnRecordStart rule like this:

 

// Change background color within a text frame dynamically

var myFrame = FindTextFrame("bau");

if (Field("campo")=="pippo")

{

myFrame.fillColorName = "Verde" + myFrame.fillColorName;

}

 

else if (Field("campo")=="pluto")

{

myFrame.fillColorName = "Rosso" + myFrame.fillColorName;

}

 

I would need to create a new named "gradient" color, away from the solid CMYK combinations. Is it possible? Thanks Ciao Maurizio

Link to comment
Share on other sites

I don't believe that it's possible for add a gradient color to FusionPro.

You could create the colors and gradients as .pdf's and pull them into a graphic frame that sits behind the text frame. You can assign the content of that graphic frame from the OnRecordStart rule much like you've done with the text frame if you want.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...