# Function Reference

# _WinAPI_GetTextAlign

Retrieves the text-alignment setting for the specified device context

#include <WinAPIGdi.au3>
_WinAPI_GetTextAlign ( $hDC )

## Parameters

$hDC | Handle to the device context.

## Return Value

Success: | The status of the text-alignment flags. The return value is a combination of the $TA_* and $VTA_* constants.
Failure: | (-1).

## See Also

Search GetTextAlign in MSDN Library.