Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Retrieves a collection of all the system-supported fonts.
Syntax
[ oColl = ] Dialog Helper. fonts |
[ oObject = ] Dialog Helper .fonts( iIndex ) |
Possible Values
oColl | A collection of system-supported fonts. |
oObject | Reference to an individual item in the array of elements contained by the object. |
iIndex | Required. Integer that specifies the zero-based index of the item to be returned. |
Example
The following example displays the total number of system fonts, and then displays a list of their names.
function testFonts() { var a=dlgHelper. fonts .count; alert(a); // show total number of system fonts for (i = 1;i < dlgHelper. fonts .count;i++) { var f= f + " " + dlgHelper. fonts (i) } alert(f); // show names of all system fonts }
Applies To
|
Dialog Helper |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |