Arranging MOLE graphics using manual decluttering
DemoSymbolIDs.cs
// 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.
// 

using System;
using System.Collections.Generic;
using System.Text;

namespace ManualGroupDraw
{
  /// <summary>
  /// A simple "wrapping" array of symbol IDs used for demonstration purposes.
  /// </summary>
  class DemoSymbolIDs
  {
      public string this [int index]
      {
          get
          {
        if ( index < 0 )
          index *= -1;
              if ( index < s_symbols.Length )
                  return s_symbols[index];
              else
          return s_symbols[index % s_symbols.Length];
          }
      }
    
      public int Count { get { return s_symbols.Length; } }
      
    private static string[] s_symbols = {
      "SFAPC----------",
      "SFAPCF---------",
      "SFAPCH---------",
      "SFAPCL---------",
      "SFAPM----------",
      "SFAPMF---------",
      "SFAPMFA--------",
      "SFAPMFB--------",
      "SFAPMFC--------",
      "SFAPMFCH-------",
      "SFAPMFCL-------",
      "SFAPMFCM-------",
      "SFAPMFD--------",
      "SFAPMFF--------",
      "SFAPMFFI-------",
      "SFAPMFH--------",
      "SFAPMFJ--------",
      "SFAPMFK--------",
      "SFAPMFL--------",
      "SFAPMFM--------"
    };
  }
}