Estoy convirtiendo un control a un mapa de bits e imprimirlo:imprimiendo una imagen en orientación horizontal?
using (MemoryStream ms = new MemoryStream())
{
chart1.SaveImage(ms, ChartImageFormat.Bmp);
Bitmap bm = new Bitmap(ms);
PrintDocument doc = new PrintDocument();
doc.PrintPage += (s, ev) =>
{
ev.Graphics.DrawImage(bm, Point.Empty); // adjust this to put the image elsewhere
ev.HasMorePages = false;
};
doc.Print();
}
Cómo se puede especificar para imprimir en orientación horizontal?
Mateo usted es el hombre !!!!!!!!!!!!! –