Jump to content

Vertical Alignment Rule


Recommended Posts

In FusionPro, I know you can now use rules to programmatically change attributes of a text box - position, stroke, fill, etc.


Is there a way to control the vertical alignment?

I want a rule that does this:


If 'cell' field is empty:
  the text in the FusionPro text box should be align=top.

Link to comment
Share on other sites

FindTextFrame("YourFrameName").verticalAlignment = Field("Cell") ? "bottom" : "top";

All the attributes that apply to frames in JavaScript are listed on the Building Blocks dialog, on the Objects tab, under Frames. You need to look at both the "FusionProTextFrame" and "(generic frame properties)" nodes.

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.

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...