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 | Added in version 11 | 11.0 |
IsEnabled IsEnabled() | bool | Tells whether the view is currently enabled | < 9.5 |
IsMouseDragging IsMouseDragging(button) | bool | Added in version 11 | 11.0 |
SetCursor SetCursor(cursor) | void | Change the cursor | < 9.5 |
SetToolTip SetToolTip(tooltip) | void | Added in version 12 | 12.0 |
Width Width() | int32 | Added in version 11 | 11.0 |