%ts - Text Size

Purpose

To set the text size.

Syntax

winio@('%ts', size)
double precision size     (input)

Description

size is the scaling factor that defaults to 1.0. Values between zero and 1.0 cause the font to be scaled down. Values greater than 1.0 cause it to be scaled up. The default can be restored by using a size of 1.0 or by using %sf (Standard Font).

%fn (Font) must be used before %ts because the standard font cannot be scaled.

Notes

CLEARWIN_INFO@('SYSTEM_FONT_HEIGHT') returns the height of the standard system font in logical units. This can be used to detect whether the user is has set the Control Panel, Display Properties to Small Fonts (=16) or Large Fonts (=20) or Other...

Example

winio@('%ts', 1.5D0)

See also

%sf (Standard Font), %fn (Font), %tc (Text Colour), %bf (Bold Font), %it (Italic), %ul (Underlined)

 

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited