CoordSys Window - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

Syntax

CoordSys Window window_id

window_id is an integer window identifier corresponding to a Map or Layout window.

Description

Use CoordSys Window to refer to the coordinate system already in use in a window.

Examples

The following example sets one Map window's projection to match the projection of another Map window. This example assumes that two integer variables (first_map_id and second_map_id) already contain the window IDs of the two Map windows.

Set Map 
	Window second_map_winid 
	CoordSys Window first_map_winid

See Also:

Commit Table statement, Set CoordSys statement, Set Map statement