Previous Page | Next Page

DATA Step Graphics Interface Dictionary

TEXALIGN



Finds the horizontal and vertical alignment of the text string
Operating States: GKOP, SGOP, WSAC, WSOP
Return Codes: 0, 8

Syntax
Description
Argument Definitions
See Also

Syntax

CALL GASK('TEXALIGN', halign, valign, return-code-variable);


Description

The GASK('TEXALIGN', . . . ) routine returns the current horizontal and vertical text alignment. If no values have been previously selected with the GSET('TEXALIGN', . . . ) function, GASK('TEXALIGN', . . . ) returns the default value NORMAL for both halign and valign.


Argument Definitions

halign

character variable name; indicates the horizontal alignment set by the GSET('TEXALIGN', . . . ) function; returns one of the following values:

  • CENTER

  • LEFT

  • NORMAL

  • RIGHT.

valign

character variable name; indicates the vertical alignment set by the GSET('TEXALIGN', . . . ) function; returns one of the following values:

  • BASE

  • BOTTOM

  • HALF

  • NORMAL

  • TOP.

return-code-variable

numeric variable name; returns the return code of the routine call.


See Also

TEXPATH

TEXUP

TEXALIGN

Previous Page | Next Page | Top of Page