SizeMode
指定图片的缩放模式,ImageSizeMode型枚举,可选值有:
Normal:标准
CenterImage:居中
StretchImage:拉伸
Zoom:等比拉伸
示例
Dim
pbx
AS
WinForm.PictureBox
pbx = Forms(
"窗口1"
).Controls(
"PictureBox1"
)
pbx.SizeMode = ImageSizeMode.Zoom
本页地址:
http://www.foxtable.com/webhelp/topics/0813.htm