Created
October 5, 2023 13:59
-
-
Save bjoerntx/dba280ad1a62e784d5266ce32328894c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function saveDocument() { | |
// save the document on TXTextControl object | |
TXTextControl.saveDocument(TXTextControl.StreamType.InternalUnicodeFormat, function (document) { | |
// call the .NET method 'ProcessDocument' with the saved document data | |
dotNetObject.invokeMethodAsync('ProcessDocument', document.data); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment