ESRI.ArcGIS.E2API Feedback via the User Forum
esriE2SymbolType Enumeration
See Also   Example
ESRI.ArcGIS.E2API Namespace : esriE2SymbolType Enumeration


The types of symbols used for display

Syntax

Visual Basic (Declaration) 
Public Enum esriE2SymbolType 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As esriE2SymbolType
C# 
public enum esriE2SymbolType : Enum 

Members

MemberDescription
UnknownUnknown symbol type
MarkerMarker symbol type used for point geometries
LineLine symbol type used for line geometries
FillFill symbol type used for polygon geometries

Example

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); 
this.cbxSymNames.Items.AddRange(symNames); 
                    
Visual BasicCopy Code
Dim symNames() As String = Me._taskUI.E2.StyleManager.GetSymbolNames(esriE2SymbolType.Marker)
Me.cbxSymNames.Items.AddRange(symNames)

Remarks

This enumeration is used in the StyleManagers GetSymbolNames method

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ESRI.ArcGIS.E2API.esriE2SymbolType

Platforms

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Version Information

This enumeration was added to the E2API at version 1.0.0.348.

See Also