ShrinkFont

Syntax

ShrinkFont

Remarks

Decreases the size of the selected text to the next available font size supported by the assigned printer. If the selection contains characters of varying font sizes, each size is reduced to the next available setting. If there is no selection, the smaller font size will be applied to new text.

Example

This macro inserts a line of increasingly smaller Z characters. Note how you can use a colon to place separate instructions on the same line. In this macro, ShrinkFont is executed three times in a single line.


Sub MAIN
FontSize 45
For count = 1 To 7
    Insert "Z"
    ShrinkFont : ShrinkFont : ShrinkFont
Next count
End Sub

See Also

Font, FontSize, FormatFont, GrowFont, ResetChar, ShrinkFontOnePoint