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

WordFile.SetProperty

Sets a metadata property.

Component Version macOS Windows Linux Server iOS SDK
WordFile 14.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "WordFile.SetProperty"; WordFile; FieldName; Value )   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"
Value The new value.

Result

Returns OK or error.

Description

Sets a metadata property.
Updates the core properties for the document.

Examples

Set creator field:

Set Variable [ $c ; Value: MBS( "WordFile.SetProperty"; $w; "creator"; "Joe" ) ]

See also

Release notes

Blog Entries

This function checks for a license.

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


WordFile.SetMediaFile - WordFile.SetXML