Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 798 Bytes

GetTextAlign.md

File metadata and controls

41 lines (28 loc) · 798 Bytes

Home

Function name : GetTextAlign

Group: Font and Text - Library: gdi32


The GetTextAlign function retrieves the text-alignment setting for the specified device context.


Code examples:

Using Font and Text functions

Declaration:

UINT GetTextAlign(
  HDC hdc   // handle to DC
);  

FoxPro declaration:

DECLARE INTEGER GetTextAlign IN gdi32;
	INTEGER hdc  

Parameters:

hdc [in] Handle to the device context.


Return value:

If the function succeeds, the return value is the status of the text-alignment flags.