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