private void TestFontSize() { PointStyle newPointStyle = new PointStyle(); map.Image = new Bitmap(map.Width, map.Height); GeoCanvas gc = new GdiPlusGeoCanvas(); gc.BeginDrawing(map.Image, new RectangleShape(0, (double)map.Image.Height, (double)map.Image.Width, 0)); gc.DrawText("Hello", new GeoFont("Arial", 20f), new GeoSolidBrush(GeoColor.StandardColors.Red), new ScreenPointF[] { new ScreenPointF(map.Image.Width / 2, map.Image.Height/2) }, DrawingLevel.LevelOne); //newPointStyle.DrawSample(gc); }