Equinox Online Help - Language Reference - A to Z

Home

FontNumber

Applies to
SyntaxFontNumber (DescriptionExpression)
Action[Function] Returns the index of a particular Font name.
ScopeUsable anywhere.
Notes

This statement returns the index value of the Font described in the Font Styles dialog. The name is supplied in DescriptionExpression.

CategoryFonts and Colours
See Also ChangePalette, ColourName_ColorName, ColourNumber_ColorNumber, FontHandle, FontName, FontNumber, PaletteRGB, RGB, RGBValues
Example

This line displays the font index number associated with the descriptor "Marlett".

Print FontNumber("Marlett")