Purpose:
Run the specified command on the document.
Syntax:
Public Void Execcommand(StringCommand, BoolShowui, ObjectValue)
Parameters
- Command
-
Type: System ..::.String
The name of the command to be executed. For a complete list of commands, see command Identifiers (command identifier) (http://msdn.microsoft.com/library/default.asp? Url =/Workshop/author/DHTML/reference/commandids. asp ).
- Showui
-
Type: System ..::.Boolean
Whether to display a command-specific dialog box or message box to the user.
- Value
-
Type: System ..::.Object
Value to be allocated using this command. Not all commands.
Remarks
ExeccommandA large number of commands are made public, and methods are not made public for these commands on htmldocument. UseExeccommandYou can insert new HTML elements, select text and set text formats, and clear any identity authentication creden。 cached.