Picture style and bookmarks position

Dear Official Technical Support,

I am in the process of developing a plugin for ONLYOFFICE with the aim of inserting an image at the bookmark’s position, such that the image will float above the text. I am currently facing two issues:

  1. How can I specifically pinpoint the location of the bookmark in the document?
  2. After using Api.CreateImage to create an image, how can I set the properties for this image?

Thank you in advance for your help.

Hello @ice

To get range of added bookmark you can use this method:

Methods to interact with graphical objects can be found here: