TOlf FMXText Image Frame Class
Display a text with a bitmap font.
Olf.FMX.TextImageFrame.TOlfFMXTextImageFrame
The TOlfFMXTextImageFrame type exposes the following members.
Name | Description | |
---|---|---|
![]() | AutoSize | If True, the text size is reduced or increased to fill its parent. If False, the text size depends only on its Height property, the Width is adapted after a Refresh. |
![]() | Font | Font to use (an image list with characters as bitmaps) |
![]() | HasPendingRefresh | Use to delay a Refresh operation during a BeginUpdate/EndUpdate bloc |
![]() | LetterSpacing | Width to use between two letters. |
![]() | OnGetImageIndexOfUnknowChar | Event used to get the index of an unknow character in the font image list. |
![]() | SpaceWidth | Width to use when a text contains a space character. |
![]() | Text | Text to display |
Name | Description | |
---|---|---|
![]() | AjoutImageEtRetourneLargeur | Add an image (= a character as bitmap) and returns its width. |
![]() | DefaultOnGetImageIndexOfUnknowChar | Called by GetImageIndexOfChar() when no index for a char has been found after calling OnGetImageIndexOfUnknowChar event. |
![]() | DoEndUpdate | Called at the end of a BeginUpdate/EndUpdate bloc. It calls the Refresh method if it has been asked in the bloc. |
![]() | Refresh | Repaint the text |
![]() | RetourneLargeur | Returns the width of a character image with current drawing height of the text. |
![]() | getImageIndexOfChar | Returns the index of the char in the image list. If it's not found this function can call the OnGetImageIndexOfUnknowCharIfNotFound event or do a default character swap to find the good one. |