Jump to content

Rotate Text Box on menu selection


IndexxPrep

Recommended Posts

I have a web product that I would like the user to specify text orientation (rotation). Is there a way to rotate a text frame with javascript? I cannot find any variables for rotation or orientation. I would like to be able to specify 0°, 90°, 180°, 270°.

 

Thanks in advance!

-AG

Link to comment
Share on other sites

Eric is correct that you can't rotate a text box "on the fly." However, you can create four different frames, and use JavaScript logic to only put text into the one that's rotated the way you want. In FP 6 and later, you can do this in just a few lines of code with the FusionPro.Composition.AddVariable method; in earlier versions, you'll need to create four rules, one for each frame.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...