TXTextControlWeb.saveSelection Method Saves the current selection in a certain format and sends the result back asynchronously by calling a given callback function. Syntax [JavaScript] TXTextControlWeb.saveSelection( streamType, callback); Parameter Description streamType Type: Number.…
current selection in a certain format and sends the result back asynchronously by calling a given callback function. Introduced: X13. JavaScript TXTextControl.saveSelection( streamType, callback) TXTextControl.saveSelection( streamType, callback) Parameters Parameter Description…
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.SaveDocumentResult Object The callback function argument for the saveDocument and the saveSelection functions. Introduced: 23.0. Syntax [JavaScript] { data: , streamType: } Properties Property Description data The Document data. streamType Specifies one of the StreamType values.
TXTextControl.Selection.save Method For a detailed description of this function see saveSelection. Syntax [JavaScript] Selection.save( streamType, callback); Parameter Description streamType Specifies one of the StreamType values. callback A function with one parameter. Is called with
TXTextControlWeb Object The TXTextControlWeb JavaScript object provides a public API to manipulate the web editor via JavaScript functions in the browser. Syntax [JavaScript] TXTextControlWeb( container) Properties Property Description clipboardMode Gets or sets the clipboard mode (client or…
TXTextControl.Selection Object Describes and handles the position and length of a text selection. It also provides the possibility to replace the currently selected text with text in a certain document format. Introduced: 24.0. Syntax [JavaScript] { getBounds: , setBounds
another physical server. This allows using a load balancer, for example. Web Editor Programming The new methods saveDocument, loadSelection and saveSelection were added to the TXTextControl JavaScript object. This enables saving the current document, inserting formatted text into the current
+1 704-544-7445 (United States)
+1 855-533-8398 (United States, toll free)
Or send us an email: