TextRange.queryCommandValue() (Method)

Part of an MSIE special document command handling mechanism. Returns the value of the command.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyTextRange.queryCommandValue(aCommandName)
Argument list:aCommandNameAn MSIE command name

The value of a command depends on the command itself and what is selected. This method returns a value according to those criteria.

See also:Document object, Document.queryCommandValue(), TextRange.execCommand()