GetFont

Purpose

Reads the parameters for the given font.

Syntax

GetFont hFont

hFont: Handle

Description

This function reads the parameters for the font with the given font handle similar to the Font...To under the Font Command.

Example

Debug.Show

Debug

// prints only the font number

Trace SYSTEM_FONT

Debug

// prints all information, if different

Trace _Font$

GetFont SYSTEM_FONT

Trace _Font$

GetFont SYSTEM_FIXED_FONT

Trace _Font$

GetFont DEVICE_DEFAULT_FONT

Trace _Font$

GetFont OEM_FIXED_FONT

Trace _Font$

GetFont ANSI_FIXED_FONT

Trace _Font$

See Also

Font, Font To, SetFont, GetFont, RFont, Dlg Font, _hFont, _font$, _font$=, FreeFont, DelFont

{Created by Sjouke Hamstra; Last updated: 07/10/2014 by James Gaite}