CoordSys Layout Units - 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 Layout Units paperunitname

paperunitname is a string representing a paper unit of measure (for example, "in" for inches); for a list of unit names, see Set Paper Units statement.

Description

Use CoordSys Layout to define a coordinate system which represents a MapInfo Pro Layout window. A MapBasic program must issue a Set CoordSys Layout statement before querying, creating or otherwise manipulating Layout objects. The unitname parameter is the name of a paper unit, such as "in" for inches or "cm" for centimeters.

Examples

The following Set CoordSys statement assigns a Layout window's coordinate system, using inches as the unit of measure:

Set CoordSys Layout Units "in"