![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Скорректировать описание RE_LineSpacing и RE_SpacingRule
=BuckLr= © (2008-01-27 13:38:00)Прошу Владимира Кладова поправить описания методов richedit RE_LineSpacing и RE_SpacingRule. В оригинале эти методы описаны так:
(8014)property RE_LineSpacing: Integer index 8 or PFM_LINESPACING read REGetSpacing write RESetSpacing;
{* |<#richedit>
Linespacing in paragraph (this value is based on RE_SpacingRule property). }
property RE_SpacingRule: Integer read REGetSpacingRule write RESetSpacingRule;
{* |<#richedit>
Linespacing rule. Do not know what is it. }
Это не очень понятно, поэтому прошу заменить изложенные выше описания на эти (взято из MSDN минимальными корректировками для KOL):
property RE_LineSpacing: Integer index 8 or PFM_LINESPACING read REGetSpacing write RESetSpacing;
{* |<#richedit>
Spacing between lines. For a description of how this value is interpreted, see the RE_SpacingRule property. }
property RE_SpacingRule: Integer read REGetSpacingRule write RESetSpacingRule;
{* |<#richedit>
Type of line spacing. This property can be one of the following values.
0 - Single spacing. The RE_LineSpacing is ignored.
1 - One-and-a-half spacing. The RE_LineSpacing is ignored.
2 - Double spacing. The RE_LineSpacing is ignored.
3 - The RE_LineSpacing specifies the spacing from one line to the next, in twips. However, if RE_LineSpacing specifies a value that is less than single spacing, the control displays single-spaced text.
4 - The RE_LineSpacing specifies the spacing from one line to the next, in twips. The control uses the exact spacing specified, even if RE_LineSpacing specifies a value that is less than single spacing.
5 - The value of RE_LineSpacing / 20 is the spacing, in lines, from one line to the next. Thus, setting RE_LineSpacing to 20 produces single-spaced text, 40 is double spaced, 60 is triple spaced, and so on. }
=BuckLr= (2008-01-27 13:41:00) [1]
> описания методов
свойств, пардон :)