Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WordFile.GetProperty

Queries a metadata property.

Component Version macOS Windows Linux Server iOS SDK
WordFile 14.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "WordFile.GetProperty"; WordFile; FieldName )   More

Parameters

Parameter Description Example
WordFile The reference number of the open word file. $wordFile
FieldName The name of the field.
Can be title, subject, creator, keywords, description, lastModifiedBy, revision, created or modified.
"title"

Result

Returns text or error.

Description

Queries a metadata property.
Reads from the core properties for the document.

Examples

Read company field:

Set Variable [ $Company ; Value: MBS("WordFile.GetProperty"; $wordfile; "Company") ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 19th October 2024, last changed 19th November 2024


WordFile.GetMediaFile - WordFile.GetXML