Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

_Document.UserControl Property

Determines if the document or application was created or opened by the user.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
bool UserControl { get; set; }

Property Value

Type: System.Boolean

This property returns True if the document or application was created or opened by the user, and False if the document or application was created or opened programmatically. Set the property value to True or False to enable or disable the functionality.

If Word is visible to the user, this property will always return True.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.