Unit 'Graph' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#rtl]

SetTextJustify

Set text placement style.

Declaration

Source position: graphh.inc line 818

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 predefined 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 predefined 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: Nov 23 2024