Win32Prn() > Font methods xHarbour Developers Network  

oWin32Prn:getFonts()

Queries information about available fonts.

Syntax

:getFonts() --> aFontInfo

Description

Method :getfonts() collects information about all available fonts and returns it in form of a two dimensional array. The columns of the array contain the following data:

Font information array
Column NoData typeDescription
1CharacterName of the font
2Logical.T. == Fixed font, .F. == Proportional font
3Logical.T. == True Type font, .F. == Bitmap font
4NumericCharacter set required

Fonts listed in the font information array can be used for printing. A font is selected with method :setFont().


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe