P
Peer K
Hi,
I need to build a small HTML editor - real simple stuff, just bold and
italic for now.
I set the fontstyle in my richtextbox with SelectionFont which seems to
work fine.
Now for the question. When the user presses a button I want to loop
through the lines in the richtextbox and output html (to a string for now).
It's fairly easy to just say foreach (String Line in richTextBox1.Lines)
but how do I get to the formatting associated with that line?
Any pointers?
I need to build a small HTML editor - real simple stuff, just bold and
italic for now.
I set the fontstyle in my richtextbox with SelectionFont which seems to
work fine.
Now for the question. When the user presses a button I want to loop
through the lines in the richtextbox and output html (to a string for now).
It's fairly easy to just say foreach (String Line in richTextBox1.Lines)
but how do I get to the formatting associated with that line?
Any pointers?