Click or drag to resize

EditorCommandFontName Method

Returns a command that allows setting the given fontName for the selected text in a WYSIWYG editor.

Namespace:  DotNetBrowser.Frames
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.21.0
Syntax
C#
public static EditorCommand FontName(
	string fontName
)

Parameters

fontName
Type: SystemString
the font name to set.

Return Value

Type: EditorCommand
The EditorCommand instance.
Exceptions
ExceptionCondition
ArgumentException Thrown when the fontName is null, empty or contain only white space.
See Also