Packed Record TTextStyle
Unit
Declaration
type TTextStyle = packed record
Description
Styles to describe how a text is drawn in a rectangle
Overview
Fields
Alignment: TAlignment; |
|
Layout: TTextLayout; |
|
SingleLine: boolean; |
|
Clipping: boolean; |
|
ExpandTabs: boolean; |
|
ShowPrefix: boolean; |
|
Wordbreak: boolean; |
|
Opaque: boolean; |
|
SystemFont: Boolean; |
|
RightToLeft: Boolean; |
|
EndEllipsis: Boolean; |
Description
Fields
Alignment: TAlignment; |
|
Horizontal |
Layout: TTextLayout; |
|
Vertical alignment |
SingleLine: boolean; |
|
If WordBreak is false then process #13, #10 as standard chars and perform no Line breaking |
Clipping: boolean; |
|
Clip Text to passed Rectangle |
ExpandTabs: boolean; |
|
Replace #9 by apropriate amount of spaces (default is usually 8) |
ShowPrefix: boolean; |
|
Process first single '&' per line as an underscore and draw '&&' as '&' |
Wordbreak: boolean; |
|
If line of text is too long too fit between left and right boundaries try to break into multiple lines between words. See also EndEllipsis |
Opaque: boolean; |
|
Fills background with current brush |
SystemFont: Boolean; |
|
Use the system font instead of canvas font |
RightToLeft: Boolean; |
|
For |
EndEllipsis: Boolean; |
|
If line of text is too long to fit between left and right boundaries truncates the text and adds "...". If Wordbreak is set as well, Workbreak will dominate |