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....



Proportional


Unit:SDL_rasterlab
Class:TRasterLab
Declaration:property Proportional: boolean;

The property Proportional determines whether the text in the raster display is displayed by using fixed width characters or proportional characters.

Please note, that the proportionality of a font does not depend on the font, i.e. you may use the "Courier New" font as a proportional font. If Proportional is TRUE each character is rendered in a way that there is a single empty bit column between characters of the displayed text, no matter how broad the character is. If Proportional is set to FALSE the characters are displayed using a fixed width (variable FontWidth of the property CharMatrix).

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): rasterlabel



Last Update: 2012-Oct-20