C# - How to print aspect ratio / full page
<p>I am printing the CHART control on button click:</p>

<pre><code>chart1.SaveImage(ms, ChartImageFormat.Bmp);
Bitmap bm = new Bitmap(ms);

PrintDocument doc = new PrintDocument();
doc.PrintPage += (s, ev) =&gt;
{
    ev.Graphics.DrawImage(bm, Point.Empty); // adjust this to put the image elsewhere
    ev.HasMorePages = false;
};
doc.DefaultPageSettings.Landscape = true;

doc.Print();
</code></pre>

<p>How do I force it to print the control so that it fits to the size of the page (preserving the aspect ratio)?</p>
