editMenu.setFontSize
| Syntax |
editMenu.setFontSize (size)
|
| Params |
size is an integer value that defines the size of character to be used for the selected text.
|
| Action |
Sets the font size of the target selection. (See "The Target of Editing Commands" in the EditMenu Verbs chapter of the UserTalk Reference Guide for an explanation of "target.")
|
| Returns |
True if a change was made, false otherwise.
|
| Examples |
edit (@examples.setFontTest) » true
Select any line of text. Now type and execute:
Notice that the font size increases to 24 on the selected line. Now type and execute:
|
| Notes |
Performs the same action as selecting an item from the Size sub-menu of the Frontier Edit menu. Applied to a word processing text window, this verb affects selected text or, if there is no selection, the next text entered. Applied to an outline or table window, it affects the entire contents of the window. If a TrueType font is used, any integer value is legal and should produce readable output. Bitmapped fonts can appear hard to read if an unsupported size is applied to them.
|
| See Also |
editMenu.setFont
|