IPB

> SetTextJustify (procedure) (Graph unit)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 SetTextJustify (procedure)     (Graph unit)


Sets text justification values used by OutText and OutTextXY.

Declaration

 procedure SetTextJustify(Horiz, Vert: Word);

Target

Real, Protected

Remarks

Text output after a SetTextJustify will be justified around the current pointer in the manner specified. Given the following,

 SetTextJustify(CenterText, CenterText);
 OutTextXY(100, 100, 'ABC');

the point (100, 100) will appear in the middle of the letter B. The default justification settings can be restored by SetTextJustify(LeftText, TopText). If invalid input is passed to SetTextJustify, GraphResult returns a value of grError, and the current text justification settings will be unchanged.

Restrictions

Must be in graphics mode.

See Also

Sample Code

 
 К началу страницы 
Тэги: SetTextJustify
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"