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

Version added: before 9.5

Arguments:

Name Type Description Default Ver
text char The text to create < 9.5
font char The name of the font to use < 9.5
fill bool True to group all characters as a single fill shape, false to fill them separately < 9.5
stroke bool True to center the text horizontally, false to left-justify < 9.5
groupTogether bool How many lines down to offset the text (used to create multi-line text objects) < 9.5
centerH bool < 9.5
lineOffset int32 < 9.5

Return value:

void 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.

Search results

Usage of 'InsertText' is found in the following scripts:

<< Back to ScriptInterface