EditorCommandFontSize Method |
Returns a command that allows setting the given fontSize for the selected text in a WYSIWYG
editor.
Namespace:
DotNetBrowser.Frames
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.0
Syntax public static EditorCommand FontSize(
int fontSize
)
Parameters
- fontSize
- Type: SystemInt32
the font size to set.
Return Value
Type:
EditorCommandThe
EditorCommand instance.
Exceptions Exception | Condition |
---|
ArgumentException | Thrown when the fontSize is less or equal to zero. |
See Also