PictureContentControl.ShowInsertPictureIcon Property (2007 System)
Gets or sets a value that specifies whether to display the UI that users can click to select an image to display in the control at run time.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Property ShowInsertPictureIcon As Boolean
'Usage
Dim instance As PictureContentControl
Dim value As Boolean
value = instance.ShowInsertPictureIcon
instance.ShowInsertPictureIcon = value
public bool ShowInsertPictureIcon { get; set; }
public:
property bool ShowInsertPictureIcon {
bool get ();
void set (bool value);
}
public function get ShowInsertPictureIcon () : boolean
public function set ShowInsertPictureIcon (value : boolean)
Property Value
Type: System.Boolean
true if the PictureContentControl displays the UI that users can click to select an image to display in the control at run time; otherwise, false. The default is false.
Remarks
If you want to enable users to choose an image to display in the control at run time, set this property to true. Set this property to false if you want to assign an image to the control at design time, and you do not want users to change the image at run time.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.