how can i print the map

Jun 27, 2013 at 1:49 PM
hi
i use this code but it doesn't work
        DotSpatial.Controls.LayoutForm frm = new DotSpatial.Controls.LayoutForm();
        string name = map1.Layers[0].LegendText;
        frm.MapControl = map1;
        frm.Show();
show a new form that is empty