Created
July 28, 2022 12:13
-
-
Save bjoerntx/eb4c45c0a8a8672910ae36b14dbdcf6b 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
using (TXTextControl.ServerVisualisation.TextViewGenerator tx = | |
new TXTextControl.ServerVisualisation.TextViewGenerator()) { | |
tx.Create(); | |
tx.Selection.Text = "1234567890"; | |
tx.IsTrackChangesEnabled = true; | |
tx.UserNames = new string[] {"qa@textcontrol.com" }; | |
tx.Select(2, 3); | |
tx.Selection.Text = "New Text"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment