Insert picture
Insert an image file at the start or end of the document, after a marker text or at a bookmark, optionally sized and aligned.
Command in the Word toolkit · id ooa.word/insert_picture · 9 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Image | File | Yes | Image file (PNG, JPEG, GIF, BMP, TIFF, EMF or WMF). | |
| Width | Number | No | Width in points (72 per inch); the height keeps the aspect ratio. Original size when empty. | |
| After text | String | No | Put the picture in a new paragraph after the paragraph with this text; at the end when empty. | |
| Alt text | String | No | Alternative text, also used later by find_replace_picture. | |
| Session | String | No | word | Session name. |
| Height | Number | No | Height in points; with width both are used as given, alone the width keeps the aspect ratio. | |
| Position | String | No | end | Where the picture goes when after_text and bookmark are empty: end or start of the document. |
| Bookmark | String | No | Put the picture in a new paragraph after the paragraph holding this bookmark. | |
| Alignment | String | No | Horizontal alignment of the picture's paragraph; unchanged when empty. |