Type Default Value Read Only Static Description
IList<String> None Yes Yes The names of all available fonts.
Notes

A read-only collection of the names of the fonts currently available on your machine.

See Also

TextFont

Example

[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
...