queryCommandValue Method
Returns the current value of the given command.
Syntax
vCmdValue = object.queryCommandValue(sCmdID)
Parameters
sCmdID Required. String that specifies a command identifier.
Return Value
String or Boolean. Returns a string representing the command value if the command is supported, or true/false otherwise.
Remarks
If the command returns a value, such as a color, rather than a true/false state, this command retrieves the current value of the document or range.
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus. document, controlRange, TextRange
See Also
execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.