Class LM_FontPreview
Version added: before 9.5
The LM_FontPreview class is a user interface class that is used in a dialog to preview what a font will look like. You can create an LM_FontPreview object using the following function:
Methods of LM_FontPreview:
| Name | Returns | Description | Ver |
| Refresh Refresh() | void | Force the preview to redraw itself | < 9.5 |
| SetFontName SetFontName(font) | void | Set the name of the font to be used when displaying the preview | < 9.5 |
| SetPreviewText SetPreviewText(text) | void | Set the text to be displayed in the preview | < 9.5 |
Methods inherited from LM_View:
| Name | Returns | Description | Ver |
| Enable Enable(enable) | void | Enables or disables a view object | < 9.5 |
| Height Height() | int32 | Returns the height of the widget | 11.0 |
| IsEnabled IsEnabled() | bool | Tells whether the view is currently enabled | < 9.5 |
| IsMouseDragging IsMouseDragging(button) | bool | Verifies if dragging mouse button matches the given argument | 11.0 |
| SetCursor SetCursor(cursor) | void | Change the cursor | < 9.5 |
| SetToolTip SetToolTip(tooltip) | void | Sets the tooltip text for a user interface control | 12.0 |
| Width Width() | int32 | Returns the height of the widget | 11.0 |