Ejemplo n.º 1
0
 public Font GetFont(MapFonts mf)
 {
     if (_bindsFont.ContainsKey(mf))
     {
         return(_bindsFont[mf]);
     }
     return(_defaultFont);
 }
Ejemplo n.º 2
0
            public MapPrefernce()
            {
                ////-- Add the default mapping color.
                if (this._DefaultLegendColors == null)
                {
                    this._DefaultLegendColors = new List<string>();
                }

                //-- Create the instance of FontMapCollection
                this._RecentMapFonts = new MapFonts();

                //-- Create the instance of PictureMapCollection
                this._RecentMapPictures = new MapPictures();
            }
Ejemplo n.º 3
0
 public Font GetFont(MapFonts mf)
 {
     if (_bindsFont.ContainsKey(mf))
         return _bindsFont[mf];
     return _defaultFont;
 }