To work with built-in properties in Word, use the following properties:In a document-level project, use the BuiltInDocumentProperties property of the ThisDocument class. In an application-level project, use the BuiltInDocumentProperties property of a Microsoft.Office.Interop.Word.Document object....
CurrentRsid Gets a random number that Microsoft Office Word assigns to changes in the document. CustomDocumentProperties Gets a DocumentProperties collection that represents all the custom document properties for the document. CustomXMLParts Returns the custom XML parts in the document. DataBindings Gets ...
Step 1:Launch theMicrosoft Word app. Step 2:On the Microsoft Word Ribbon, click on theFiletab. Step 3:Click theInfotab to view the document properties. Step 4:ClickShow All Propertiesat the bottom right to view all options. Step 5:Place your cursor in the text box of the following pro...
10/16/2013 In this article Overview Adding Custom Properties by Using the Property Dialog Box Create a Custom Property Programmatically Conclusion Summary:Document properties in Microsoft Office Word 2003 provide a way to describe a document. Custom properties extend this ability by allowing you to de...
Office Word Primary Interop Assembly 搜尋 Microsoft.Office.Interop.Word _Application _Document _Document Properties _CodeName ActiveTheme ActiveThemeDisplayName ActiveWindow ActiveWritingStyle[] Application AttachedTemplate AutoFormatOverride AutoHyphenation Background Bibliography Bookmarks Broadcast BuiltInDocument...
Wordprocessing DocumentFormat.OpenXml.EMMA DocumentFormat.OpenXml.Experimental DocumentFormat.OpenXml.ExtendedProperties DocumentFormat.OpenXml.Features DocumentFormat.OpenXml.InkML DocumentFormat.OpenXml.Linq DocumentFormat.OpenXml.Math DocumentFormat.OpenXml.Office.ActiveX DocumentFormat.OpenXml.Office.ContentType ...
Sign in to your account Sign in Add the file name, date, author or other document properties to a header or footerApplies ToWord for Microsoft 365 Word for the web Word 2024 Word 2021 Word 2019 Word 2016 Word 2013 Newer versionsWeb Using docu...
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/30-properties/read-write-custom-document-properties.yaml await Word.run(async (context) => { const properties: Word.CustomPropertyCollection = context.document.properties.customProperties; proper...
This problem may occur if you do not have a document open, or if the document that you are referencing is not open. Word can only change the properties of an open (or visible) document. Note These error messages may also...
Add several properties of different types, if you like. ClickOKwhen you finish to dismiss the dialog box. Figure 2. Add a custom property. Save the document in a convenient location, and quit Microsoft Word. (For the purposes of this discussion, I named my document C:\Demo.docx.) ...