| Visual Basic (Declaration) | |
|---|---|
Public Enum esriE2SymbolType Inherits Enum | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public enum esriE2SymbolType : Enum | |
| Member | Description |
|---|---|
| Unknown | Unknown symbol type |
| Marker | Marker symbol type used for point geometries |
| Line | Line symbol type used for line geometries |
| Fill | Fill symbol type used for polygon geometries |
The code below shows you a simple way of retrieving the names of Marker symbols from the
StyleManager and populating a Windows Forms ComboBox called cbxSymNames with these names.
You can easily adapt this code to retrieve Line or Fill symbol names instead.
The example assumes that the current item has a member variable _taskUI pointing to the current TaskUI,
and a ComboBox called cbxSymNames.
| C# | Copy Code |
|---|---|
string[] symNames = this._taskUI.E2.StyleManager.GetSymbolNames(esriE2SymbolType.Marker); | |
| Visual Basic | Copy Code |
|---|---|
Dim symNames() As String = Me._taskUI.E2.StyleManager.GetSymbolNames(esriE2SymbolType.Marker) | |
This enumeration is used in the StyleManagers GetSymbolNames method
System.Object
System.ValueType
System.Enum
ESRI.ArcGIS.E2API.esriE2SymbolType
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 enumeration was added to the E2API at version 1.0.0.348.
Copy Code