The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:property Font: TFont;

The property Font defines the font of the text. Please note that the Font property of TRasterLab differs in two ways from the usual standard Font property of other components: (1) assigning a new font triggers the method CreateBitFont, which takes considerable time to complete. (2) You may switch to the default font (which is a specially designed font not available as a standard Windows font) simply by assigning the string 'default' to the Font.Name property.

Hint: The default font is a fixed font with no attributes. Thus changing the sub-properties (such as the size or the style) of the default font has no effect.

Example: This property is used in the following example program (see for downloading the code): rasterlabel

Last Update: 2012-Oct-20