• 博客(0)
  • 资源 (4)

空空如也

C#实现图片的放大缩小局部放大

C#实现放大图像区域 private void pictureBox1_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e) { Cursor.Current=myCursor; Rectangle sourceRectangle=new Rectangle(e.X-10,e.Y-10,20,20); //要放大的区域 //Rectangle destRectangle=new Rectangle(e.X-20,e.Y-20,40,40); Rectangle destRectangle=new Rectangle(pictureBox1.Width-150,pictureBox1.Height-150,pictureBox1.Width,pictureBox1.Height); //放大的比例 g.DrawImage(myImage,destRectangle,sourceRectangle,GraphicsUnit.Pixel); }

2010-04-20

html网页模板使用

html网页模板,分享给大家。挺好用的模板哦!

2010-06-25

VB实现点线面分层程序

基于CAD的图层 增加点、线、面图层 还有DWG转SHP

2010-11-30

C#实现图片放大缩小功能

c# 使用pictureBox1实现图片放大、缩小、鼠标拖动图片等

2010-11-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除