' テキストを多くのフォントで描画します
Dim font As New Font("Tahoma", 9)
Dim ifc As New InstalledFontCollection()
For Each ff As FontFamily In ifc.Families
' フォントを作成します
Dim sample As Font = Nothing
For Each fs As FontStyle In [Enum].GetValues(GetType(FontStyle))
If ff.IsStyleAvailable(fs) Then
sample = New Font(ff.Name, 9, fs)
Exit For
End If
Next
If sample Is Nothing Then
Continue For
End If
' フォントを表示します
C1Word.AddParagraph(ff.Name, font, Color.Black)
C1Word.AddParagraph("The quick brown fox jumped over the lazy dog. 1234567890!", sample, Color.Black)
sample.Dispose()
Next