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:
Creates a new font preview object that can then be used in a dialog layout.
Return value (LM_FontPreview): the newly-created font preview width (int): width in pixels height (int): heigh in pixelsSet the text to be displayed in the preview.
Return value: none text (string): preview textSet the name of the font to be used when displaying the preview.
Return value: none font (string): font nameForce the preview to redraw itself.
Return value: none