Exemplo n.º 1
0
        public Bitmap Draw()
        {
            Bitmap   b = new Bitmap(Size.Width, Size.Height);
            Graphics g = Graphics.FromImage(b);

            Rectangle r = new Rectangle(0, 0, Size.Width, Size.Height);

            MapFrame.View = r;

            MapFrame.Print(g, r);

            return(b);
        }