help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

SetTextJustify

Set text placement style

Declaration

Source position: graphh.inc line 780

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505