CreateRun
function CreateRun(): ApiRun
Description
Creates a new smaller text block to be inserted to the current paragraph or table.
Returns
ApiRun
Try It
var oDocument = Api.GetDocument();
var oParagraph = oDocument.GetElement(0);
var oRun = Api.CreateRun();
oRun.AddText("This is a text run");
oParagraph.AddElement(oRun);