[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'Graph' (#rtl)

SetTextJustify

Set text placement style

Declaration

Source position: graphh.inc line 811

procedure SetTextJustify(

  horiz: Word;

  vert: Word

);

Description

SetTextJustify controls the placement of new text, relative to the (graphical) cursor position. Horizontal controls horizontal placement, and can be one of the following pre-defined constants:

LeftText
Text is set left of the pointer.
CenterText
Text is set centered horizontally on the pointer.
RightText
Text is set to the right of the pointer.

Vertical controls the vertical placement of the text, relative to the (graphical) cursor position. Its value can be one of the following pre-defined constants :

BottomText
Text is placed under the pointer.
CenterText
Text is placed centered vertically on the pointer.
TopText
Text is placed above the pointer.

Errors

None.

See also

OutText

  

Write text on the screen at the current location.

OutTextXY

  

Write text on the screen on given position


Documentation generated on: Sep 28 2017