PyCDC.SetTextAlign

int = SetTextAlign(newFlags)

Sets the text-alignment flags.

Parameters

newFlags : int

The new alignment flags. Can be a combination of (TA_CENTER, TA_LEFT, TA_RIGHT), (TA_BASELINE, TA_BOTTOM, TA_TOP) and (TA_NOUPDATECP, TA_UPDATECP)
The default is TA_LEFT|TA_TOP|TA_NOUPDATECP

MFC References

CDC::SetTextAlign

Return Value

The old alignment flags.