public Font GetFont(MapFonts mf) { if (_bindsFont.ContainsKey(mf)) { return(_bindsFont[mf]); } return(_defaultFont); }
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(); }
public Font GetFont(MapFonts mf) { if (_bindsFont.ContainsKey(mf)) return _bindsFont[mf]; return _defaultFont; }