PictureContentControl.ShowInsertPictureIcon 属性 (2007 system)

更新:2007 年 11 月

获取或设置一个值,该值指定是否显示 UI,用户可以在运行时单击此 UI,以便选择要在控件中显示的图像。

命名空间:  Microsoft.Office.Tools.Word
程序集:  Microsoft.Office.Tools.Word.v9.0(在 Microsoft.Office.Tools.Word.v9.0.dll 中)

语法

声明
Public Property ShowInsertPictureIcon As Boolean
用法
Dim instance As PictureContentControl
Dim value As Boolean

value = instance.ShowInsertPictureIcon

instance.ShowInsertPictureIcon = value
public bool ShowInsertPictureIcon { get; set; }

属性值

类型:System.Boolean

如果 PictureContentControl 显示一个 UI,让用户可以在运行时单击它来选择控件中显示的图像,则为 true;否则为 false。默认值为 false。

备注

如果希望允许用户在运行时选择在控件中显示的图像,请将此属性设置为 true。如果希望在设计时将图像分配给控件,并且不希望用户在运行时更改图像,请将此属性设置为 false。

权限

另请参见

参考

PictureContentControl 类

PictureContentControl 成员

Microsoft.Office.Tools.Word 命名空间