Search code examples
c#richtextboxconvertersflowdocumenttypeconverter

Load .txt file into FlowDocument


How can i load a .txt file as FlowDocument to put it in a RichTextBox?


Solution

  • Have you tried google?

    http://www.c-sharpcorner.com/uploadfile/mahesh/loading-a-text-file-in-a-wpf-flowdocumentreader/

    Convert XAML to FlowDocument to display in RichTextBox in WPF