|
[C#]
Response.Write("List of Fonts<br>");
foreach (string fontname in XSettings.Fonts) {
Response.Write(fontname + "<br>");
}
[Visual Basic]
Dim fontname As String
Response.Write("List of Fonts<br>")
For Each fontname In XSettings.Fonts
Response.Write(fontname + "<br>")
Next
The above will produce something like the following output -
depending on the fonts you have installed:
List of Fonts
System
Fixedsys
Courier
MS Sans Serif
MS Serif
Small Fonts
ASI_System
ASI_Mono
Arial
Courier New
Lucida Console
Lucida Sans Unicode
Times New Roman
...
|