GetDefaultFontStyle
GetDefaultFontStyle (graphNameStr, axisNameStr)
The GetDefaultFontStyle function returns the default font style of the graph or of the graph's axis in the specified window or subwindow.
Details
If graphNameStr is "" the top graph is examined.
When identifying a subwindow with graphNameStr, see Subwindow Syntax for details on forming the window hierarchy.
If axisNameStr is "", the font style of the default font for the graph is returned.
If named axis exists, the default font style for the named axis in the graph is returned.
If named axis does not exist, NaN is returned.
The function result is a bitwise value with each bit identifying one aspect of the font style as follows:
| Bit 0: | Bold | |
| Bit 1: | Italic | |
| Bit 2: | Underline | |
| Bit 4: | Strikethrough | |
See Setting Bit Parameters for details about bit settings.
See Also
GetDefaultFont, GetDefaultFontSize, FontSizeHeight, FontSizeStringWidth