Class LM_FontPreview

Parent class: LM_View

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 void Force the preview to redraw itself < 9.5
SetFontName void Set the name of the font to be used when displaying the preview < 9.5
SetPreviewText void Set the text to be displayed in the preview < 9.5

Methods inherited from LM_View:

Name Returns Description Ver
Enable void Enables or disables a view object < 9.5
Height int32 Added in version 11 11
IsEnabled bool Tells whether the view is currently enabled < 9.5
IsMouseDragging bool Added in version 11 11
SetCursor void Change the cursor < 9.5
SetToolTip void Added in version 12 12
Width int32 Added in version 11 11