Extracting text from the attached file seems to include some control stuff that is not part of the text. My code in C# is simple but perhaps there is a better way?
License l = new License();
l.SetLicense(lic);
Document doc = new Document(wfile);
text = doc.Range.Text;
File:
20200131 130130 Attachment 0131.zip (46.1 KB)
This is the beginning of the extracted text:
20/01/31 - TSX Venture Exchange Stock Maintenance Bulletins
TSX VENTURE COMPANIES
MERGEFIELD COMPANY_NAME_CAPS * MERGEFORMAT BOLD VENTURES INC. (" MERGEFIELD SYMBOL * MERGEFORMAT BOL ")
BULLETIN TYPE: MERGEFIELD “SUB TYPE DESC” * MERGEFORMAT Consolidation
BULLETIN DATE: MERGEFIELD TODAYS_DATE * MERGEFORMAT January 31, 2020
MERGEFIELD TIER_TEXT * MERGEFORMAT TSX Venture Tier 2 Company