Click or drag to resize

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
C#
public static EditorCommand FontSize(
	int fontSize
)

Parameters

fontSize
Type: SystemInt32
the font size to set.

Return Value

Type: EditorCommand
The EditorCommand instance.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when the fontSize is less or equal to zero.
See Also