ImageFile

字符型,用于设置要显示的图片文件。

示例一

Dim pbx As WinForm.PictureBox = e.Form.Controls("PictureBox1")
pbx
.ImageFile = "c:\data\玫瑰.png"

示例二

图片文件可以来自web:

Dim pbx As WinForm.PictureBox = e.Form.Controls("PictureBox1")
pbx
.ImageFile = "http://www.baidu.com/img/bdlogo.gif"


本页地址:http://www.foxtable.com/webhelp/topics/2728.htm