Created
June 3, 2024 12:53
-
-
Save bjoerntx/bb3fe3fa1601e86be5007775225d14a6 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 1", tx, true); | |
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