The information in this article applies to:
SUMMARYThe FONTMETRIC() function returns the attributes of a font installed in the Microsoft Windows environment. Font attributes include the character height, character ascent, leading space between lines, and font weight. The syntax of the FONTMETRIC() function is as follows: FONTMETRIC(<expN1>[,<expC1>,<expN2>[,<expC2>]])The <expN1> parameter specifies the desired font attribute. If the <expC1> and <expN2> parameters are omitted, FONTMETRIC() returns the specified attribute of the current font in the active output window. The following table lists the <expN1> values and their corresponding font attributes.
The <expC1> parameter specifies a font name and returns the desired
attribute for a specific installed font.
The <expN2> parameter specifies the point size for a font specified in the <expC1> parameter. The <expC2> parameter specifies a font style code. When an application specifies <expC2>, FoxPro returns the desired attribute for a font with the specified font style. If <expC2> is omitted, FoxPro returns the specified information regarding a font with normal style. The <expC2> parameter can contain one or more characters from the following font style table.
Additional query words: VFoxWin FoxWin 2.50
Keywords : FxprgGeneral |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |