| Table of Contents / Graphics / Text | Operators |
get_font_extents — Get the maximum size of all characters of a font.
get_font_extents( : : WindowHandle : MaxAscent, MaxDescent, MaxWidth, MaxHeight)
get_font_extents queries the maximum width (MaxWidth), height (MaxHeight), and extension above and below the baseline (MaxAscent and MaxDescent, respectively) of the font that is currently set for the window WindowHandle. The sizes are measured in pixels.
Window identifier.
Maximum height above baseline.
Maximum extension below baseline.
Maximum character width.
Maximum character height.
get_font_extents returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception is raised.
open_window, open_textwindow, set_font
set_tposition, write_string, read_string, read_char
get_string_extents, set_tposition, set_font
Foundation
| Table of Contents / Graphics / Text | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |