Insert Text into Word
Command description
Inserts the specified text at the cursor position in the Word document.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Word Object | WordApp | |
| Text | str | Text to be inserted |
| Font | str | Font name, such as SimSun |
| Color | str | Hexadecimal RGB color value, such as #FF0000 |
| Size | number | Font size, e.g. 11 |
| Bold | bool | Whether to use bold text |
| Italic | bool | Whether to use italic text |
| New Line | bool | Whether to insert a line break before the text |
Command Output Parameters
None