Function Reference


_WinAPI_CreateFontIndirect

Creates a logical font that has specific characteristics

#include <WinAPIGdi.au3>
_WinAPI_CreateFontIndirect ( $tLogFont )

Parameters

$tLogFont $tagLOGFONT structure that defines the characteristics of the logical font

Return Value

Success: Handle to a logical font
Failure: 0

Remarks

This function creates a logical font with the characteristics specified in the $tagLOGFONT structure.
When this font is selected by using the SelectObject function, GDI's font mapper attempts to match the logical font with an existing physical font.
If it fails to find an exact match it provides an alternative whose characteristics match as many of the requested characteristics as possible.

Related

$tagLOGFONT

See Also

Search CreateFontIndirect in MSDN Library.