Table of Contents

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

color string

the color to set.

Returns

EditorCommand

The EditorCommand instance.

Exceptions

ArgumentException

Thrown when the color is null, empty or contain only white space.