Created
June 3, 2024 12:56
-
-
Save bjoerntx/5004c14ebbeeb8a369636972b3b2acc8 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.ServerTextControl tx = new TXTextControl.ServerTextControl(); | |
tx.Create(); | |
tx.Load("document.docx", TXTextControl.StreamType.WordprocessingML); | |
var test = ExtractTextBlocks("Heading 2", tx, false); | |
foreach (var item in test) | |
{ | |
Console.WriteLine("New block: \r\n\r\n" + item + "\r\n"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment