本文介绍了图像在visual basic中调整大小6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我创建的程序更多的是加载图像。我已经完成了我的程序但是在运行程序时仍然存在问题。由于图像太大,我的程序太慢。 我尝试使用此代码使图像更亮但不起作用。 公共 Sub LoadImage( ByVal imgName 作为 字符串) 使用 Entry1 .imgView.ScrollBars = SB_Both .imgView.ViewUpdate = True .imgView.ToolSet TOOL_Hand,IXMOUSEBUTTON_Left, 0 .imgView.PageNbr = imgPage .imgView.fileName = imgPath& imgName .imgView.IResX = 300 .imgView.IResY = 300 ' 。imgView.AutoSize = ISIZE_ResizeImage .imgView.SaveFile .imgView.ZoomToFit ZOOMFIT_BEST 结束 使用 结束 Sub 有没有办法让图像变亮?或者调整图像大小? 任何帮助都将被接受。解决方案 I have created a program which is more on loading an image. I have already finish my program but I have still a problem in running my program. My program is too slow because of large images.I try this code to make the images lighter but it doesn't work.Public Sub LoadImage(ByVal imgName As String) With Entry1 .imgView.ScrollBars = SB_Both .imgView.ViewUpdate = True .imgView.ToolSet TOOL_Hand, IXMOUSEBUTTON_Left, 0 .imgView.PageNbr = imgPage .imgView.fileName = imgPath & imgName .imgView.IResX = 300 .imgView.IResY = 300 '.imgView.AutoSize = ISIZE_ResizeImage .imgView.SaveFile .imgView.ZoomToFit ZOOMFIT_BEST End WithEnd SubIs there any way to make the images lighter? or to resize an image?Any help will be accepted. 解决方案 这篇关于图像在visual basic中调整大小6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-23 22:20