Maptitude GISDK Help |
Adds a layer to a workspace.
The layers are automatically dropped when the object gets out of scope.
AddDBLayers( array options)
Option Name |
Type |
Contents |
FileName | string |
Name of the layer to add to the workspace |
OpenOpts |
options array |
Open flags. Default is null. Read Only, AttributeTablesWritable, Shared |
Name |
Type |
Contents |
Layers |
array |
A list of the layers added to the workspace. If the layer is a line layer the list includes the name of the nodes layer. Null if the layer was not added or the layer is already in the workspace |
opts.FileName = "c:\\my_folder\\my_layer_file.dbd"
obj = CreateObject("AddDBLayers", opts)
layers = obj.Layers
See Also:
©2025 Caliper Corporation | www.caliper.com |