javascript Dialog Helper getCharset( )

getCharset( )NN n/a IE 6 DOM n/a  

getCharset("fontName")

  

Returns an integer corresponding to a constant associated with a character set known by the operating system. Among the common values returned for font families installed on Latin-based systems are 0 (for plain ANSI character set) and 2 (for a symbol set). The required parameter is the name of a font to inspect for its character set. Such names may be retrieved from the fonts property of the Dialog Helper object:

var setID = dlgHelper.getCharset(dlgHelper.fonts.item(4));

Not all Windows versions have the same character set suite installed.

 
Parameters
 
fontName

String name of installed system font.

 
Returned Value

Integer.


509,Nickname,Homepage or email,Comments here,Add comment