Search notes:

Office Object Model: Word - InlineShapes

addPicture

'
'  ..\..\..\runVBAFilesInOffice.vbs -word addPicture -c addPicture %CD%
'

sub addPicture(cur_dir as string)

  ' exported_chart.gif was created with https://github.com/ReneNyffenegger/runVBAFilesInOffice/blob/master/Excel/ObjectModel/Chart/export.bas
    call activeDocument.inlineShapes.addPicture(fileName := cur_dir & "\exported_chart.gif")

    activeDocument.saved = true

end sub
Github repository about-MS-Office-object-model, path: /Word/InlineShapes/addPicture.bas

See also

Shape
Word Object Model

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1759612570, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/Office/Word/Object-Model/InlineShapes/index(55): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78