The font is the property of every control. See the properties
System.Windows.Forms.Control.Font
and
System.Windows.Forms.Control.DefaultFont
. "Font in word" — what is that? (I hope, not Microsoft Word, which has nothing to do with your editor :-)) If you need structured text with different fonts, use
System.Windows.Forms.RichTextBox
.
See
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.windows.forms.richtextbox.aspx[
^].
I would say, if you want to ask a question about each property you don't know at the moment, you won't go far. Get a habit of asking MSDN — it's faster. Ask CodeProject only about real problems.
—SA