Sets or retrieves the text contained within the range.
HRESULT IHTMLTxtRange::get_text(BSTR *p);HRESULT IHTMLTxtRange::put_text(BSTR v);
- Pointer to a variable of type BSTR that receives the contained text.
- BSTR that specifies the contained text.
Returns S_OK if successful, or an error value otherwise.
The text formats within the current context of the document. You cannot set this property while the document is loading. Wait for the onload event before attempting to set this property.
This feature might not be available on non- Microsoft Win32 platforms.