Base64 encoded document data. Example The following example shows how to load a short HTML document into the web editor. [JavaScript] var html = "This is some HTML text."; var encoded = btoa(html); // btoa base-64-encodes strings. TXTextControlWeb.loadDocument(TXTextControl
TXTextControl.StreamType.HTMLFormat, encoded); var html = "This is some HTML text."; var encoded = btoa(html); // btoa base-64-encodes strings. TXTextControl.loadDocument(TXTextControl.StreamType.HTMLFormat, encoded); Further Reading Learn more about the Javascript: TXTextControl.loadDocument…
loadDocumentBackColor Property TXTextControl.LoadSettings Object JavaScript API Specifies whether or not the document background color is loaded. Syntax JavaScript TXTextControl.LoadSettings.loadDocumentBackColor TXTextControl.LoadSettings.loadDocumentBackColor
append Method TXTextControl Object JavaScript API Appends text to the document in a certain format. Introduced: 31.0. JavaScript TXTextControl.append( streamType, base64Data, callback, [ loadSettings], [ appendSettings], [ errorCallback]) TXTextControl.append( streamType,
load Method TXTextControl Object JavaScript API Loads text in a certain format. The complete contents of the web editor are replaced. Introduced: X18. JavaScript TXTextControl.load( streamType, base64Data, callback, [ loadSettings], [ errorCallback]) TXTextControl.load
TXTextControl Object JavaScript API The TXTextControl JavaScript object provides a public API to manipulate the web editor via JavaScript functions in the browser. Syntax JavaScript TXTextControl TXTextControl Enumerations Enumeration Description ActivationState The current activation state.…
TXTextControl.StreamType.HTMLFormat, encoded); var html = "This is some HTML text."; var encoded = btoa(html); // btoa base-64-encodes strings. TXTextControl.loadDocument(TXTextControl.StreamType.HTMLFormat, encoded); Further Reading Learn more about the Javascript: TXTextControl.loadSelection…
TXTextControl.LoadSettings Object JavaScript API The LoadSettings object provides properties for advanced settings and information during load operations. Syntax JavaScript TXTextControl.LoadSettings TXTextControl.LoadSettings Introduced: X18. Enumerations Enumeration Description…
+1 704-544-7445 (United States)
+1 855-533-8398 (United States, toll free)
Or send us an email: