Skip to content

LoadText

Updates the document content. The previously created content will be lost.

1
myWriter.LoadText(text: string, type?: ( `"html"` | `"rtf"` | `"txt"` )):void

Parameters

string text

( "html" | "rtf" | "txt" ) type optional

Remarks

Load plain text content into a writer document

1
2
var writer = new Writer();
writer.LoadText('Emakin');