GeographicalSchemaLayers.Add
Add
Syntax variant: Add empty layer
Syntax
Add(<Name>, <ObjectType>)
Parameters
<Name> (required)
Type: String. Name under which the layer will be added in a collection.
<ObjectType> (required)
Type: GeographicalSchemaObjectPoint, GeographicalSchemaObjectMultiPoint, GeographicalSchemaObjectPolyline, GeographicalSchemaObjectPolygon. Type of geographical schema topological objects that will be stored in the layer.
Description of method variant
Adds layer that stores specified object typer to collection.
Syntax variant: Add a layer from file
Syntax
Add(<FileName>, <ImportType>)
Parameters
<FileName> (required)
Type: String. Name of topological schema file in ESRI Shapefile format ("shp" file extension), which is source for import.
<ImportType> (optional)
Type: GeographicalSchemaLayerSeriesImportModeType. Specifies type of action with data attached to topological schema file. Default value: ImportAll.
Description of method variant
Imports new layer to the collection from the SHP file ArcGIS.
Returned value
Type: GeographicalSchemaLayer.
Availability
Server, thick client, external connection.
Example
Scheme = New GeographicalScheme();
Layer = Scheme.Layers.Add("Layer",
Type("GeographicalSchemaObjectPolygon"));
NewPolygonObject = Layer.Objects.Add();
Scheme.Show();
Translation
Русская версия: СлоиГеографическойСхемы.Добавить (GeographicalSchemaLayers.Add)
No comments to display
No comments to display