EditorCommandForeColor Method |
Returns a command that allows setting the given foreground color for the selected
text in a WYSIWYG editor.
Namespace:
DotNetBrowser.Frames
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.19.0
Syntax public static EditorCommand ForeColor(
string color
)
Parameters
- color
- Type: SystemString
the color to set.
Return Value
Type:
EditorCommandThe
EditorCommand instance.
Exceptions Exception | Condition |
---|
ArgumentException |
Thrown when the color is null, empty or contain only white
space.
|
See Also