CENTER

Syntax

int_val = CENTER( n );
Input arguments

int

n

Defines the point of the text block.

1 – upper left

2 – upper middle

3 – upper right

4 – center left

5 – center

6 – center right

7 – lower left

8 – lower middle

9 – lower right

Return Values

Success:
int 0 Text placed successfully.
Failure:
int -1 Script interface error.

Description

This function gives the local origin of text block. This is the point on the text that will be placed at the draw coordinates.

Function Set

Text Functions

Related Functions

DIREC

FONT

GET_TEXT_EXTENTS

SIZE

SLANT

TEXT