| Description | Hierarchy | Fields | Methods | Properties | 
type unaWinFont = class(unaObject)
This class encapsulates the Windows font object.
![]()  | 
constructor create(const face: string = ''; h: int = 16; w: int = 6; escapement: int = 0; orientation: int = 0; weight: int = FW_LIGHT; italic: bool = false; underline: bool = false; strikeout: bool = false; charset: unsigned = DEFAULT_CHARSET; precision: unsigned = OUT_DEFAULT_PRECIS; clipPrecision: unsigned = CLIP_DEFAULT_PRECIS; quality: unsigned = DEFAULT_QUALITY; pitchAndFamily: unsigned = VARIABLE_PITCH or FF_SWISS); | 
![]()  | 
constructor createIndirect(const font: LOGFONT); | 
![]()  | 
destructor Destroy(); override; | 
![]()  | 
class function chooseScreenFont(var font: LOGFONT; owner: hWnd = 0; dc: hDC = 0; flags: unsigned = CF_SCREENFONTS; sizeMin: unsigned = 0; sizeMax: unsigned = 0): bool; | 
![]()  | 
property font: hFont read f_font; | 
![]()  | 
constructor create(const face: string = ''; h: int = 16; w: int = 6; escapement: int = 0; orientation: int = 0; weight: int = FW_LIGHT; italic: bool = false; underline: bool = false; strikeout: bool = false; charset: unsigned = DEFAULT_CHARSET; precision: unsigned = OUT_DEFAULT_PRECIS; clipPrecision: unsigned = CLIP_DEFAULT_PRECIS; quality: unsigned = DEFAULT_QUALITY; pitchAndFamily: unsigned = VARIABLE_PITCH or FF_SWISS); | 
| 
 Creates new Windows font. Usually you should not care about removing the font, this will be done automatically when program exits.  | |
![]()  | 
constructor createIndirect(const font: LOGFONT); | 
| 
 Creates new Windows font. Usually you should not care about removing the font, this will be done automatically when program exits.  | |
![]()  | 
destructor Destroy(); override; | 
| 
 Removes all resources used by this font object.  | |
![]()  | 
class function chooseScreenFont(var font: LOGFONT; owner: hWnd = 0; dc: hDC = 0; flags: unsigned = CF_SCREENFONTS; sizeMin: unsigned = 0; sizeMax: unsigned = 0): bool; | 
| 
 Chooses a font. Displays font choose dialog. Returns true if used had successfully selected a font, or false otherwise.  | |
![]()  | 
property font: hFont read f_font; | 
| 
 Windows font handle.  | |
(c) 2012 Lake of Soft