Word JS API - Add support for floating pictures

Word JS API - Add support for floating pictures
2

Upvotes

Upvote

 Sep 21 2022
0 Comments 
New

Affects all Word platforms, and any version of the API should be missing this feature. The preview API does not have this feature either.

Tested with Microsoft 365 Word and Office-js 1.3.

 

We seem to lack a way of retrieving floating pictures through the API.
Right now we're only able to retrieve inline pictures by using the inlinePictures property. It would be great to have the same for floating pictures :)

Currently there is no way of getting floating pictures at all.

 

Ideally the API should be something like

 

context.document.body.floatingPictures

 

 

This feature is critical for the future development of my company's Word extension.

 

Example of a floating picture in Word

https://i.imgur.com/cPnIs3i.png