VB 如何让Image的尺寸不随Image内的图片尺寸改变

2025-02-07 18:45:31
推荐回答(4个)
回答1:

'将image的stretch属性改为true就行了.
image1.stretch=true
'就是让图像适应image.

'或者:
'在窗体加载时设置image的大小.
image1.width=1000
image1.height=2000

回答2:

用 picture 控件 就不会变了

回答3:

image1.stretch=true

回答4:

设置Image属性stretch为真