Create Object statement - 2023

MapInfo Pro Release Notes

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro Advanced
MapInfo > License Server Utility
MapInfo > MapInfo Pro
MapInfo > MapInfo EasyLoader
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapInfo Pro
Title
MapInfo Pro Release Notes
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:43:38.341845

Syntax

Z/M values are supported for Point, PLine, region, multipoint, and collection objects only.

Create Point

Create Point    [ supportmz ]
                [ Into { Window window_id | Variable var_name } ] 
                ( x, y[, [z][,m]] )
                [ Symbol... ] [ Priority n ] [ Name framename ]

window_id is a window identifier.

var_name is the name of an existing object variable.

x, y specifies the location of the point.

The Symbol clause specifies a symbol style.

n is an integer value indicating the Z-Order value of objects (frames) on the Layout window.

framename is a string representing the name for this item in a Layout window.

supportmz token is optional, passed when setting the z/m value.

z is a Z value.

m is an M value.

Create Pline

Create Pline    [ supportmz ]
                [ Into { Window window_id | Variable var_name } ] 
                [ Multiple num_sections ]
                num_points ( x1, y1[, [z1][,m1]] ) ( x2, y2[, [z2][,m2]] ) [ ... ]
                [ Pen... ]
                [ Smooth ] [ Priority n ] [ Name framename ] 

window_id is a window identifier.

var_name is the name of an existing object variable.

num_points specifies how many nodes the polyline will contain.

num_sections specifies how many sections the multi-section polyline will contain.

Each x, y pair defines a node of the polyline.

The Pen clause specifies a line style.

n is an integer value indicating the Z-Order value of objects (frames) on the Layout window.

framename is a string representing the name for this item in a Layout window.

supportmz token is optional, passed when setting the z/m value.

z is a Z value.

m is an M value

Create Region
Create Region [ supportmz ]
            [ Into { Window window_id | Variable var_name } ]
            num_polygons 
            [ num_points1 ( x1, y1[, [z1][,m1]] ) ( x2, y2[, [z2][,m2]] ) [ ... ] ]
            [ num_points2 ( x1, y1[, [z1][,m1]] ) ( x2, y2[, [z2][,m2]] ) [ ... ] ... ]
            [ Pen ... ]
            [ Brush ... ]
            [ Center ( center_x, center_y ) ]
            [ Priority n ] [ Name framename ] 

window_id is a window identifier.

var_name is the name of an existing object variable.

num_polygons specifies the number of polygons that will make up the region (zero or more).

num_points1 specifies the number of nodes in the region's first polygon.

num_points2 specifies the number of nodes in the region's second polygon, etc.

Each x, y pair specifies one node of a polygon.

Pen is a valid Pen clause to specify a line style.

Brush is a valid Brush clause to specify fill style.

center_x is the x-coordinate of the object centroid.

center_y is the y-coordinate of the object centroid.

n is an integer value indicating the Z-Order value of objects (frames) on the Layout window.

framename is a string representing the name for this item in a Layout window.

supportmz token is optional, passed when setting the z/m value.

z is a Z value.

m is an M value

Create Multipoint
Create Multipoint [ supportmz ]
            [ Into { Window window_id | Variable var_name } ] 
            [ num_points ]
            ( x1, y1[, [z1][,m1]] ) ( x2, y2[, [z2][,m2]] )  [ ... ]
            [ Symbol... ] 

window_id is a window identifier.

var_name is the name of an existing object variable.

num_points is the number of points inside a Multipoint object.

x, y specifies the location of the point.

supportmz token is optional, passed when setting the z/m value.

z is a Z value.

m is an M value.