As you probably know, the frame scale is not the same as the map scale, because of the way MapInfo "fits" a map view into a frame. But in a layout, of course, it's the frame's scale that matters.
It would sure be nice if there were just an ObjectInfo() or ObjectGeography() call for this, but there isn't (or at least not in the documentation for MapBasic 8.5). The frame scale can be calculated, but all methods are convoluted and inaccurate. I have a little test app that calculates frame scale using two different methods and could post the source if anyone's interested. Hope this helps Spencer -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Stott Sent: Wednesday, October 18, 2006 6:47 AM To: mapinfo-l@lists.directionsmag.com Subject: [MI-L] Frame Scale All, Does anyone know how to extract the scale from a layout frame object using MapBasic? I would like to automatically populate a text object on my layout with the current scale of the map frame but cannot seem to find a way to do this. Regards, James _______________________________________________ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l _______________________________________________ MapInfo-L mailing list MapInfo-L@lists.directionsmag.com http://www.directionsmag.com/mailman/listinfo/mapinfo-l