Previous topic

TBIsWordWrap

Next topic

TBSetAlignVert

This Page

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
  1. Left aligned
CENTER
  1. Center between left and right
RIGHT
  1. Right aligned

id-441321