Contents Index Topic Contents | ||
Previous Topic: queryCommandSupported Next Topic: refresh |
queryCommandValue
Description
Returns the current value of the given command. If the command returns a value such as a color rather than a TRUE/FALSE state, this command is used to retrieve the current value of the document or range.
Syntax
string = object.queryCommandValue(command)
Parameter Description command (String) String that specifies the command to query. Can be any valid command identifier. Return Value
Returns a string representing the command value if the command is supported, or TRUE/FALSE.
Applies To
See Also
execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.