The information in this article applies to:
SUMMARYIn creating a report programmatically, you can use the following formula to determine the width for objects on the report:
MORE INFORMATION
The FONTMETRIC function returns return various attributes of a specified
font. For example, FONTMETRIC(6) returns the average character width in
pixels of the current font.
nNumCharacters specifies the number of characters for which you need to
allow room.
The following line of code would store the average width needed in a report for a five-character field in the font "Times New Roman," size 12, style Normal.
REFERENCESVisual FoxPro Help; search on "FONTMETRIC()" Additional query words:
Keywords : kbMAC kbPrinting kbReportWriter kbVFp300 kbVFp500 |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |