Error getting tags :
error 404Error getting tags :
error 404 fontStyles | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
fontStyles
Basics
Expander triangle
Type
Function
Syntax
fontStyles(fontName,fontSize)
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns a list of styles available for a font and size.
Examples

fontStyles("Helvetica",9)
fontStyles(thisFont,0)

Additional Comments
Expander triangle

Use the fontStyles function to determine which font styles can be displayed or printed.

Parameters:

The fontName is the name of a font that is installed on the system.

The fontSize is a point size that exists for the font.

Value:

The fontStyles function returns a list of available styles, one per line.

Comments:

If you specify a fontSize of zero, the styles returned are the ones that are scalable for the specified font.

User Comments
Expander triangle