Function Reference


_WinAPI_GetThemeTextMetrics

Retrieves information about the font specified by a visual style for a particular part

#include <WinAPITheme.au3>
_WinAPI_GetThemeTextMetrics ( $hTheme, $iPartID, $iStateID [, $hDC = 0] )

Parameters

$hTheme Handle to a window's specified theme data.
$iPartID The part to retrieve font information about.
$iStateID The state of the part.
$hDC [optional] Handle to the device context to use for screen context.

Return Value

Success: $tagTEXTMETRIC structure that contains the font information.
Failure: Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

See Also

Search GetThemeTextMetrics in MSDN Library.