Documentation Center

Editor.getCommand

Description

This method can be used to retrieve a command object.

A list of available commands is the following

  • SaveCommand

  • ReloadCommand

  • PrintCommand

  • UndoCommand

  • RedoCommand

  • ShowPropertiesCommand

  • CutCommand

  • CopyCommand

  • PasteCommand

  • strongRoleCommand

  • emphasisRoleCommand

  • underlineRoleCommand

  • superscriptRoleCommand

  • subscriptRoleCommand

  • unorderedlistRoleCommand

  • orderedlistRoleCommand

  • hyperlinkRoleCommand

  • OutdentCommand

  • IndentCommand

Syntax

Editor.getCommand (Name : String) : Command Object

Arguments

Name
String. Name of the command.

Return Value

Command Object. Command. Command objects have an execute function to execute the command.