ScriptInterface:InsertText(text, font, fill, stroke, groupTogether, centerH, lineOffset)

Version added: before 9.5

Deprecated. Use the new InsertText method instead.

ArgumentTypeDescriptionDefaultVer
textcharThe text to create< 9.5
fontcharThe name of the font to use< 9.5
fillboolTrue to group all characters as a single fill shape, false to fill them separately< 9.5
strokeboolTrue to center the text horizontally, false to left-justify< 9.5
groupTogetherboolHow many lines down to offset the text (used to create multi-line text objects)< 9.5
centerHbool< 9.5
lineOffsetint32< 9.5

Return type : none

Creates a new text object in the currently active vector layer. See the ScriptInterface:FillInFontList method for information on how to get a list of the available fonts.
String "InsertText" is found in the following scripts:

SS - Number Sequence (by simplsam)