Reading the article here, it seems to indicate that setting of the font via control reference will not change the font on an imported document.
https://docs.telerik.com/devtools/wpf/controls/radrichtextbox/frequently-asked-questions
Dim appPathAndFile As String = System.AppDomain.CurrentDomain.BaseDirectory & "\TreeScapesLog.txt"Dim docProvider As New TxtFormatProviderUsing input As Stream = File.OpenRead(appPathAndFile) Dim docLogFile As RadDocument = docProvider.Import(input) rtbLogFile.Document = docLogFileEnd Using
What that article suggests is the TxtFormatProvider strips the content of all formatting ... but it seems to assign a very large default font size. How do I go about changing that font size when using TxtFormatProvider.Import ... I couldn't find any examples?
Cheers, Rob.
