Hi
El Maiks,
Thank you for posting here.
For your question, you want to get the line numbers of the RTF file.
Based on my search, the following link may be helpful to you.
Read
Rich Text File Line by Line
Reading
RTF Files line by line in C# WPF
wpf
c# i would like to load a multi line rtf document from each line get a font type and size of font.
Best Regards,
Timon
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.