Chapter Contents

Previous

Next
TEXALIGN

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

GASK('TEXPATH', . . . ) routine
GASK('TEXUP', . . . ) routine
GSET('TEXALIGN', . . . ) function


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.