TBSetAlignHorzΒΆ

TBSetAlignHorz sets the horizontal text alignment.

bool = TBSetAlignHorz(hText, rsAlign)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hText

The handle of a text object created with TBCreate.

rsAlign

rsAlign is one of the following values:

Value

Meaning

LEFT(4)

Left aligned

CENTER (2)

Center between left and right

RIGHT (1)

Right aligned

id-441321