TXTextControl.SaveDocumentResult.data Property The Document data. Contains base64 encoded binary data in case of binary document formats (PDF or DOCX, for example) and plain text in case of text based document formats (HTML or RTF, for example). Syntax [JavaScript
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.
Javascript: FileDroppedEventArgs.fileSize The size of the file in bytes. Javascript: FileDroppedEventArgs.fileType The MIME type of the file. Javascript: SaveDocumentResult.bytesWritten Specifies the number of bytes written during a save operation. Javascript: SaveDocumentResult.data The…
and display the received document data in the console. JavaScript TXTextControl.saveDocument(TXTextControl.StreamType.HTMLFormat, function (e) { console.log(e.data); }); Possible console output: [...] TXTextControl.saveDocument(TXTextControl.StreamType.HTMLFormat, function (e) {…
one of the numerical StreamType values. callback A function with one parameter. Is called with an argument object of type SaveDocumentResult containing the document data after the document has been saved successfully. saveSettings Optional. Specifies additional save settings. errorCallback Optional
has been saved successfully. Example The following example shows how to save the current document and display the received document data in the console. [JavaScript] TXTextControlWeb.saveDocument(TXTextControl.StreamType.HTMLFormat, function (e) { console.log(e.data); }); Possible console output:
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
TXTextControl Object TXTextControl.ApplicationField Object TXTextControl.BarcodeType Object TXTextControl.Color Object TXTextControl.DateField Object TXTextControl.IfField Object TXTextControl.IncludeTextField Object TXTextControl.LoadSettings Object TXTextControl.MergeField Object…
+1 704-544-7445 (United States)
+1 855-533-8398 (United States, toll free)
Or send us an email: