TBSetRefPointΒΆ

TBSetRefPoint specifies in what direction the extension of a text object will grow.

bool = TBSetRefPoint(hText, nRefPoint)

Return Value

bool is TRUE (1), if the function was successful, and FALSE (0), if an error occued.

Parameters

hText

hText identifies the text object.

nRefPoint

nRefPoint specifies which corner will the fixed point of the text object. nRefPoint is an OR combination of two of the following values:

Value Meaning
LEFT Left corner.
CENTER Center between left and right corner.
RIGHT Right corner.
TOP Top corner.
MIDDLE Center between top and bottom corner.
BOTTOM Bottom corner.

id-783446