Click or drag to resize

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.27.7
Syntax
C#
public static EditorCommand ForeColor(
	string color
)

Parameters

color
Type: SystemString
the color to set.

Return Value

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