public ISymbolFont newSymbolFont(SymbolFontDef symbolFontDef)
        {
            IS3SymbolFont font = new IS3SymbolFont();

            font.FontFamily     = symbolFontDef.FontFamily;
            font.FontSize       = symbolFontDef.FontSize;
            font.FontStyle      = symbolFontDef.FontStyle;
            font.FontWeight     = symbolFontDef.FontWeight;
            font.TextDecoration = symbolFontDef.TextDecoration;
            return(font);
        }
        public IGraphic newText(string text, IMapPoint p, Color color,
                                string fontName, double fontSize)
        {
            IS3TextSymbol textSymbol = new IS3TextSymbol();

            textSymbol.Text  = text;
            textSymbol.Color = color;

            IS3SymbolFont font = new IS3SymbolFont(fontName, fontSize);

            textSymbol.Font = font;

            IS3Graphic g = new IS3Graphic();

            g.Symbol   = textSymbol;
            g.Geometry = p;

            return(g);
        }