Chris,
I thought about that, but how do you do an MBR of multiple region objects ??

Cheers,
Scott..

----- Original Message -----
From: PERRY Chris <[EMAIL PROTECTED]>
To: 'Scott England' <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 1999 10:10 AM
Subject: RE: MI Portrait or landscape ?


Scott,

Why not use the MBR() function to determine the outer limits of the shape
and then calculate from this whether to go portrait or landscape.

Hope this helps


Chris Perry
Systems Development CoOrdinator
Parks Victoria, Melbourne, Australia
Ph: 61 3 9816 6800
Fax: 61 3 9816 9876
[EMAIL PROTECTED]



-----Original Message-----
From: Scott England [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 9 September 1999 18:04
To: [EMAIL PROTECTED]
Subject: MI Portrait or landscape ?


I have a map window containing a country with part of it shaded
thematically. I have written code that will zoom in to the closest view on
just that section, but I need to determine programatically which orientation
would be the best for the map i.e. is the shaded area taller than it is wide
or vice versa ?? When I know which it is then I can change the shape of the
map window to portrait/landscape and then zoom in. Which is the best way to
do this ??

TIA,

Scott..



----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to