MSHTML Classes: CAutoTxtSiteRange

The CAutoTxtSiteRange class is the internal implementation of what MSHTML exposes for scripting as the controlRange collection. Instances are created by the createControlRange method of various classes (including for all elements) and by the createRange method of the CSelectionObject class.

Scripting

The table below lists the interface members that the CAutoTxtSiteRange class exposes as properties through its string table. Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted yellow.

Property Interface Member
add IHTMLControlRange add
addElement IHTMLControlRange2 addElement
commonParentElement IHTMLControlRange commonParentElement
execCommand IHTMLControlRange execCommand
execCommandShowHelp IHTMLControlRange execCommandShowHelp
item IHTMLControlRange item
length IHTMLControlRange get_length
queryCommandEnabled IHTMLControlRange queryCommandEnabled
queryCommandIndeterm IHTMLControlRange queryCommandIndeterm
queryCommandState IHTMLControlRange queryCommandState
queryCommandSupported IHTMLControlRange queryCommandSupported
queryCommandText IHTMLControlRange queryCommandText
queryCommandValue IHTMLControlRange queryCommandValue
remove IHTMLControlRange remove
scrollIntoView IHTMLControlRange scrollIntoView
select IHTMLControlRange select