Method FontName
- Namespace
- DotNetBrowser.Frames
- Assembly
- DotNetBrowser.dll
FontName(string)
Returns a command that allows setting the given fontName
for the selected text in a WYSIWYG
editor.
public static EditorCommand FontName(string fontName)
Parameters
fontName
stringthe font name to set.
Returns
- EditorCommand
The EditorCommand instance.
Exceptions
- ArgumentException
Thrown when the
fontName
is null, empty or contain only white space.