I'm currently trying to parse an RTF file into C# and a lot of information online points to using a Windows.Form RichTextBox to do so. After loading the file and inspecting the RichTextBox.Text everything has been captured correctly except for Check Boxes that are used within the document. The information from these check boxes are vital to what I am trying to perform within my program. Has anyone come across this before?
RichTextBox rtb = new RichTextBox();
rtb.LoadFile(fileRTF);
Console.WriteLine(rtb.Text);
Original document VS console output
Many thanks!
- I've attempted removing all protection from the document
- The checkboxes appear in Word, and Notepad++ upon inspection. But they do not appear within Wordpad
- Copying the checkboxes and posting them into another document results in a binary output of 0/1 based on checked or not
- i've tried using the NRTFTree library with no success
The Console output is plain text, so it can not display any rich display.