beautypg.com

Pitney Bowes MapXtreme User Manual

Page 490

background image

Appendix C: Understanding the MapInfo Workspace

Creating an .MWS Workspace Programmatically from a .GST

MapXtreme v7.1

497

Developer Guide


spacing="1">2147483647


unit="mapinfo:imagesize pixel">
mapinfo:pen 2



0



right
center


-2
0

parallel


0




The layer list displays with the label properties that are set for this map. These properties include the
layer the labels are on, the file source for the labels, the visibility rules for the labels including the
range at which the labels are visible, if applicable, the font and size properties of the labels, the label
character limits, callouts, if applicable, label position settings, alignment, justification, and orientation
of the label with regard to the point it is labeling.

Creating an .MWS Workspace Programmatically from a .GST

In MapX, you used the Map.SaveMapAsGeoset method to create a geoset from the existing map.
You give users the ability to save their workspaces programmatically as well and view these
workspaces in the Workspace Manager later on using the code fragment shown below.

L

Users need to have a map open with one or more layers to save it as a workspace.