OBJSetRefPoint specifies, to which corner of the object the position coordinates refer.
Return Value
bool is TRUE (1) if the function was successful, and FALSE (0) if an error occued.
Parameters
hobj identifies the text, rectangle, table or ellipse object.
nRefPointWC is an OR combination of two of the following values:
| Name | Value | Meaning |
|---|---|---|
| LEFT | 4 | Left corner. |
| CENTER | 2 | Center between left and right corner. |
| RIGHT | 1 | Right corner. |
| TOP | 8 | Top corner. |
| MIDDLE | 16 | Center between top and bottom corner. |
| BOTTOM | 32 | Bottom corner. |
id-329311