| Visual Basic (Declaration) | |
|---|---|
<ComVisibleAttribute(False)> Public Class LocalVectorLayer Inherits Layer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
[ComVisibleAttribute(false)] public class LocalVectorLayer : Layer | |
This example shows you how you can use the LocalVectorLayer class and E2.AddLayer method in order to
add a local shapefile called MyData.shp to ArcGIS Explorer as a Layer. This
example sets a minimal amount of properties, relying mostly on default values.
The example assumes that the current item has a member variable _taskUI pointing to the current TaskUI.
| C# | Copy Code |
|---|---|
LocalVectorLayer shapeFile = new LocalVectorLayer(); | |
| Visual Basic | Copy Code |
|---|---|
Dim shapeFile As LocalVectorLayer = New LocalVectorLayer() | |
System.Object
ESRI.ArcGIS.E2API.Layer
ESRI.ArcGIS.E2API.LocalVectorLayer
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
This class was added to the E2API at version 1.0.0.348.


~134.gif)

~134.gif)
Copy Code