Foxtable(狐表)用户栏目专家坐堂 → [求助]图片旋转问题


  共有2596人关注过本帖树形打印复制链接

主题:[求助]图片旋转问题

帅哥哟,离线,有人找我吗?
有点甜
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2014/11/20 20:31:00 [显示全部帖子]

Dim zp As WinForm.PictureViewer = e.Form.Controls("PictureViewer1")
Dim str As String = zp.SelectedItem
Dim bmp As New bitmap(str)
bmp.RotateFlip(RotateFlipType.Rotate90FlipNone)
bmp.save(str)

Dim obj As object = e.Form.Controls("PictureViewer1").basecontrol.Controls(0)
Dim pic As Object = obj.panel1.controls("PictureSplitContainer").Panel1.controls("panel2").controls("C1PictureBox1")
pic.Image = bmp


 回到顶部