Inserts text into the document at the current cursor position.
(function() { var oDocument = Api.GetDocument(); var oParagraph = Api.CreateParagraph(); oParagraph.AddText("Hello world!"); oDocument.InsertContent([oParagraph]); })();
Methods used: GetDocument, CreateParagraph, AddText, InsertContent