You can create an empty text element using this.Factory.NewText() or text with content using this.Factory.NewText("ptxt", "Text Content") .
You can use text() functions to add text elements directly, often by creating a text object and appending it. tmm12.rar
Right-click on your desktop or in a folder, select New , and then choose Text Document . You can create an empty text element using this