GeographicalSchemaLayers.Add
Syntax variant: Add empty layer
Syntax:
Parameters:
<Name> (required)
Name under which the layer will be added in a collection.
<ObjectType> (required)
Type of geographical schema topological objects that will be stored in the layer.
Description of method variant:
Syntax variant: Add a layer from file
Syntax:
Parameters:
<FileName> (required)
Name of topological schema file in ESRI Shapefile format ("shp" file extension), which is source for import.
<ImportType> (optional)
Specifies type of action with data attached to topological schema file.
Default value: ImportAll.
Description of method variant:
Returned value:
Availability:
Example:
Scheme = New GeographicalScheme(); Layer = Scheme.Layers.Add("Layer", Type("GeographicalSchemaObjectPolygon")); NewPolygonObject = Layer.Objects.Add(); Scheme.Show(); |