PictureContentControl.ShowInsertPictureIcon Property

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 (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Property ShowInsertPictureIcon As Boolean
bool ShowInsertPictureIcon { get; set; }

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

See Also

Reference

PictureContentControl Interface

Microsoft.Office.Tools.Word Namespace