IndexxPrep Posted August 26, 2009 Share Posted August 26, 2009 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 More sharing options...
esmith Posted August 26, 2009 Share Posted August 26, 2009 I don't believe you can rotate a variable text box on the fly, however if you can set your text area up within a table cell, there is a tag for text rotation within a cell that could be applied via JS... Link to comment Share on other sites More sharing options...
Dan Korn Posted August 27, 2009 Share Posted August 27, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.