public ExecuteCommand ( string name ) : void | ||
name | string | The name of the command to execute. See http://developer.mozilla.org/en/docs/Editor_Embedding_Guide for a list of available commands. |
return | void |
public void ExecuteCommand(string name)
{
if (string.IsNullOrEmpty(name))
throw new ArgumentException("name");
CommandManager.DoCommand(name, null, null);
}