• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
QXP Placing an image to the bottom
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QXP Placing an image to the bottom


  • Subject: QXP Placing an image to the bottom
  • From: Mark Bjærgager <email@hidden>
  • Date: Mon, 10 Sep 2001 16:49:48 +0200

Now I'm back with yaqpq (yet another quarkxpress picture question)

When placing an image in a picture box, I want the image to be placed to the bottom of the picture box.

I tried to do some math in QXP, but somehow the returned values are screwed up (pardon my french)

Here's my script:

tell boxIndex
set bounds of image 1 to proportional fit
set boxHeight to height of bounds of it
set imgBounds to the bounds of image 1
set imgHeight to item 4 of imgBounds
set imgOffset to ((boxHeight as real) - imgHeight as real)
set offSet of image 1 to {imgOffset, 0}
end tell

But it returns some obscure valu (-38,41) which is wrong.

Is there some magic command that I can use ?

Thanks for your time.

All the best
Mark


  • Follow-Ups:
    • Re: QXP Placing an image to the bottom
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Setting Popup Folders at right - Thanks!
  • Next by Date: where are google archives for AS?
  • Previous by thread: Setting Popup Folders at right - Thanks!
  • Next by thread: Re: QXP Placing an image to the bottom
  • Index(es):
    • Date
    • Thread