DemoSymbolIDs.vb
' Copyright 2010 ESRI ' ' All rights reserved under the copyright laws of the United States ' and applicable international laws, treaties, and conventions. ' ' You may freely redistribute and use this sample code, with or ' without modification, provided you include the original copyright ' notice and use restrictions. ' ' See the use restrictions. ' Imports System Imports System.Collections.Generic Imports System.Text Namespace ManualGroupDraw ''' <summary> ''' A simple "wrapping" array of symbol IDs used for demonstration purposes. ''' </summary> Class DemoSymbolIDs Public Default ReadOnly Property Item(ByVal index As Integer) As String Get If index < 0 Then index *= -1 End If If index < s_symbols.Length Then Return s_symbols(index) Else Return s_symbols(index Mod s_symbols.Length) End If End Get End Property Public ReadOnly Property Count() As Integer Get Return s_symbols.Length End Get End Property Private Shared s_symbols As String() = { _ "SFAPC----------", "SFAPCF---------", "SFAPCH---------", "SFAPCL---------", "SFAPM----------", "SFAPMF---------", _ "SFAPMFA--------", "SFAPMFB--------", "SFAPMFC--------", "SFAPMFCH-------", "SFAPMFCL-------", "SFAPMFCM-------", _ "SFAPMFD--------", "SFAPMFF--------", "SFAPMFFI-------", "SFAPMFH--------", "SFAPMFJ--------", "SFAPMFK--------", _ "SFAPMFL--------", "SFAPMFM--------" _ } End Class End Namespace