博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年7月1日

摘要: Private Function ResizePicture(ByVal objCtrl As Object, ByVal dblWidthRate As Double, ByVal dblHeightRate As Double) As Integer If objCtrl.Image Is Nothing Then Exit Function Dim intWidth%, intHeight% Dim objImg As System.Drawing.Image = objCtrl.Image intWidth = objImg.Width '获得原始image的大小 intHeight 阅读全文

posted @ 2009-07-01 17:18 随风飘零0 阅读(136) 评论(0) 推荐(0) 编辑