to get the minimum and maximum x- and y-coordinates of all objects in the table, use:
TableInfo(YOUR_TABLE,20) 'min X TableInfo(YOUR_TABLE,21) 'min Y TableInfo(YOUR_TABLE,22) 'max X TableInfo(YOUR_TABLE,23) 'max Y
Regards,
-- Jaromir SVASTA Hydrogeologist Geological Survey of Slovak Republic Mlynska dolina 1 817 04 Bratislava Slovak Republic
Tel: +421 2 59375326 Fax: +421 2 54771940
On Fri, 25 Mar 2005 08:53:43 -0500 (EST), Martin Tyberg <[EMAIL PROTECTED]> wrote:
Hi,
I would like to obtain the lower left and upper right coordinates that define the rectangle that completely encompasses all of the data defined within all layers in the layer control. How can I retrieve this information within MapBasic?
Thanks.
Martin
--------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 15834
