| Visual Basic (Declaration) | |
|---|---|
<ComVisibleAttribute(False)> Public Class LocalLayer Inherits Layer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
[ComVisibleAttribute(false)] public class LocalLayer : Layer | |
This example demonstrates how to use the LocalLayer class and E2.AddLayer method in order to
add a local KML file 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 |
|---|---|
LocalLayer kmlLayer = new LocalLayer(); | |
| Visual Basic | Copy Code |
|---|---|
Dim kmlLayer As LocalLayer = New LocalLayer() | |
System.Object
ESRI.ArcGIS.E2API.Layer
ESRI.ArcGIS.E2API.LocalLayer
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.


~109.gif)
Copy Code