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.27.3
Syntax public static EditorCommand FontName(
string fontName
)
Parameters
- fontName
- Type: SystemString
the font name to set.
Return Value
Type:
EditorCommandThe
EditorCommand instance.
Exceptions Exception | Condition |
---|
ArgumentException |
Thrown when the fontName is null, empty or contain only white
space.
|
See Also