Document.Creator Property

Gets the application in which the document was created.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property Creator As Integer
int Creator { get; }

Property Value

Type: System.Int32
The application in which the document was created.

Remarks

If the specified object was created in Microsoft Office Word, this property returns the hexadecimal number 4D535744, which represents the string "MSWD." This value can also be represented by the constant wdCreatorCode.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace