The font for any text can be selected using the font family attribute.
The following is a list of fonts:
|
Value |
|
Arial |
|
Arial Black |
|
Comic Sans Ms |
|
Courier New |
|
Georgia |
|
Lucida Grande |
|
Lucida Sans Unicode |
|
Times New Roman |
|
Trebuchet MS |
|
Verdana |
To apply a font other than those mentioned in the list above you can use the following format while setting font family:
FontFamily="font_file.ttf#font_name"
or
FontFamily="font_file.zip#font_name"
E.g., You want to show text using Monotype Corsiva font and font file name is MTCORSVA.TTF, then the font family string will be
FontFamily="MTCORSVA.TTF#Monotype Corsiva"
This format is applicable to following attributes: