Write Text
Writes the specified text into a Word file.
Write the text at a position relative to a specified bookmark, newline, or at the end of a specified Word document.
Input
Input :
WordHandle VariableRequiredThe word handle object to reference the opened word document.Text Content :
String ArgumentRequiredThe text content that is to be written to a word document.
Options
Bookmark :
String ArgumentOptionalThe bookmark in which the text content is to be inserted.New Line :
Integer ArgumentOptionalThe number of lines written before writing the text content.
Position :
OptionalBefore- The Text will be inserted before the bookmark. (default)After- The Text will be inserted after the bookmark.
Text Style :
Normal- The text is formatted as the default style. (default)Bold- The text is formatted as bold.Italic- The text is formatted as italic.
Last updated