Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  


Adds a media file image.

Component Version macOS Windows Linux Server iOS SDK
WordFile 9.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes


This function was deprecated.

MBS( "WordFile.AddMediaFile"; WordFile; Name; Image )   More


Parameter Description Example
WordFile The reference number of the open word file. $wordFile
Name The name of the item to add. "image1.jpeg"
Image The container value with the image. Test::MyImage


Returns OK or error.


Adds a media file image.
You can use this function to add a new image.
You need to add the reference in XML yourself to let the image appear somewhere in the document.

See also

Release notes

Blog Entries

Created 6th March 2019, last changed 20th June 2020

WindowsUserNotification.XMLUsed - WordFile.Append

Feedback: Report problem or ask question.

MBS Xojo Plugins

Start Chat