PictureContentControl.Temporary Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that specifies whether the PictureContentControl is automatically deleted from the document when the control is edited.
public:
property bool Temporary { bool get(); void set(bool value); };
public bool Temporary { get; set; }
member this.Temporary : bool with get, set
Public Property Temporary As Boolean
Property Value
true
if the PictureContentControl is automatically deleted when the control is edited; otherwise, false
. The default is false
.
Exceptions
This property is set when the LockContentControl property is true
.
Remarks
If the Temporary property is true
, the PictureContentControl is automatically deleted when the user clicks in the control, or when the image in the control is changed programmatically. When the PictureContentControl is automatically deleted from the document, the image remains in the document.