The Font interface supports two methods, Grow and Strink.
Grow | |
Returns | No return value |
Description | Increases the font size of the selection by 1. Setting the font size surrounds the selection with the FONT element. |
Usage | |
JScript | Selection.Font.Grow(); |
VBScript | Selection.Font.Grow |
Example |
// SoftQuad Script Language JSCRIPT: Selection.Font.Grow(); |
Shrink | |
Returns | No return value |
Description | Decreases the font size of the selection by 1. Setting the font size surrounds the selection with the FONT element. |
Usage | |
JScript | Selection.Font.Shrink(); |
VBScript | Selection.Font.Shrink |
Example |
// SoftQuad Script Language JSCRIPT: Selection.Font.Shrink(); |
Copyright © SoftQuad Software Inc. 1999