Writer: Move an image using LibreOffice Basic Macro

Hello, I want to move an image using LibreOffice Basic Macro. Can you help me please?
I have this code so far.

   dim oDoc as object
   dim oGraphics as object    
   oDoc = ThisComponent
   oGraphics = oDoc.getGraphicObjects()

   Dim oImg as Object    
   For Each oImg in oGraphics
     if oImg.Name = "Movable" then
        rem move the image changing X and Y position
     end if
   Next 

Thanks in advance

Hello @panico,

please try if this works:

rem move the image changing X and Y position
oImg.HoriOrientPosition = 9000	REM specified in mm/100 , relative to HoriOrientRelation
oImg.VertOrientPosition = 3000

It works!!! Thanks a lot, librebel !!