Custom properties can be created to store additional information about the document in the document itself. These properties remain with a document and can be viewed by all MS Word users that open the document. Several property management servers provide data tracking capabilities to search for, sort, and track documents based on document properties.
The new class UserDefinedPropertyDictionary contains all custom properties stored in a document. Supported value types are:
The following sample code shows how to add new custom properties to a document:
Unlimited number of custom properties can be stored in the document formats MS Word (DOC), Office Open XML (DOCX), Rich Text Format (RTF) and the internal TX Text Control format (TX).
The following code snippet shows how to load and retrieve the custom properties stored in a document:
Stay tuned for more information about the upcoming release X14!