Jump to content
Software FX Community

jonathan

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by jonathan

  1. Hello, I have a problem in display PrintPreview or print one / two picture chart. What happens is that the

    zoom in on certain areas, and ask to appear on the screen the print preview, the area zoom previous lost.

    example code:

    void pd_Print(object sender, PrintPageEventArgs e)

    {


    Graphics g = e.Graphics;


    Rectangle r2 = new Rectangle(30, 30 , 1006 , 300);


    MemoryStream stream2 = new MemoryStream();

    chart2.Export(FileFormat.Metafile, stream2);


    stream2.Position = 0;

    Image metaImage2 = Image.FromStream(stream2);


    g.DrawImageUnscaledAndClipped(metaImage2, r2);


    stream2.Close();


    }



    ---------------------


    How could I do to the chart does not change the zoom area before?

×
×
  • Create New...