当前位置:网站首页>C print zoom

C print zoom

2022-06-23 07:58:00 pcjiushizhu

// If the print area width is larger than the paper , Zoom 
            int pWidth = m_pd.DefaultPageSettings.Bounds.Width;
            int pHeight = m_pd.DefaultPageSettings.Bounds.Height;
            g.DrawImage(m_displayArea,
                    new System.Drawing.Rectangle(0, 0, pWidth, pHeight),// Zoom map 
                    new System.Drawing.Rectangle(0, 0, m_displayArea.Width, m_displayArea.Height),// Source graph 
                    GraphicsUnit.Pixel);
原网站

版权声明
本文为[pcjiushizhu]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206230729016068.html