sto convertendo un controllo a una bitmap e stamparlo:stampando un'immagine con orientamento orizzontale?
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();
}
Come si può specificare di stampare in orientamento orizzontale?
Matthew sei l'uomo !!!!!!!!!!!!! –