Views
Replies
Total Likes
Views
Replies
Total Likes
Hi pguerett, please forgive my complete lack of knowledge concerning anything livecycle, but it sounds as if you may be able to help me.
I am creating an interactive PDF whereby images can be inserted using the 'image field' object and then printed out to fit templates I've created within the page. This works fine, however I would really like to include a button that would then allow the end user to either rotate or rescale the image filling the space i've provided them with. I have tried entering the code you've posted above, but, to be honest coding is really beyond my comfort zone. I get lost when javascript and formcalc are invloved.
Many thanks for any help you can provide...
Danny
Views
Replies
Total Likes
Ah, pguerett, this is probably exactly the TYPE of thing the user is looking for. I just tested it out. However, I see two problems with it.
1) The button only works once. So if you click it to rotate and then decide you liked it the other way, if you click the button again it does nothing.
2) It doesn't resize the image. If I insert a "Landscape oriented" picture it resizes it to be proportional to the size of the portrait oriented field. Click the button to rotate it 90 degrees. It rotates the picture so that it is sideways, but it does not resize the image to now be porportional to the long-edge of the field. I hope I'm making sense.
I would definitely like to see a solution to this one, since I have a form I will be working on very soon that could benefit from having this.
Views
Replies
Total Likes
Ah, but wait. ImageField1.rotate = "90"; rotates the FIELD itself, not the contents of the field. Right? So it wouldn't resize. In addition, it could be MESSY when you're dealing with flowed forms.
So we should see about a way of taking the CONTENTS of the imagefield and rotating those. Any ideas? I tried a simple ImageField1.rawValue.rotate = "90"; and it didn't work at all.
Views
Replies
Total Likes
Hi GeneveveX, many thanks for your help with this. I look forward to any solution you come up with.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies