FontFamily.GetFamilies Method Question

S

S Shulman

I understand that I have to pass a Graphic object to this method.
All I need is a list of all available fonts for text to be entered in the
RichTextBox Control, so what is the the Graphic object Pen Brush???

Thank you in advance,
Shmuel Shulman
SBS Technologies LTD
 
H

Herfried K. Wagner [MVP]

S Shulman said:
I understand that I have to pass a Graphic object to this method.
All I need is a list of all available fonts for text to be entered in the
RichTextBox Control, so what is the the Graphic object Pen Brush???

\\\
Dim g As Graphics = Me.CreateGraphics()
.... = FontFamily.GetFamilies(g)
g.Dispose()
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

NumericUpDown Control 2
MenuItem35.PerformClick() 2
Status Bar 2
bitwise operations 1
Menu Question 3
Reporting Tool 2
Get the system colours 2
.NET Printing 2

Top