I'm writing procedures that require knowing the size of a map layout so that they can position certain elements in the corners and top and bottom centers of the maps we generate. Using MapBasic, how does one find the dimensions of a map layout? I've tried the WindowInfo() function on the layout window, but I haven't found anything useful to use in my procedures except its WIN_INFO_PRINTER_PAPERSIZE attribute. Using WIN_INFO_HEIGHT and WIN_INFO_WIDTH doesn't help because I'm not looking for the height and width of the layout window, but rather the map in it. I'm sure I need to go about this a different way. Any ideas?

Best regards / Met vriendelijke groet
Cory Martin
_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to