determine if a font is installed using VS2005

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kevin S Gallagher

    #1

    determine if a font is installed using VS2005

    Given the following code can someone tell me how to use the "Find" method
    which in VS2005 wants an array and action. I simply want to see if a
    particular font is in the list of font families w/o going through a
    for-each.


    ' Get the installed fonts collection.
    Dim installed_fonts As New Drawing.Text.In stalledFontColl ection

    ' Get an array of the system's font familiies.
    Dim font_families() As FontFamily = installed_fonts .Families()


    Thanks for any assistance!


Working...