Sets or retrieves how to handle wordwrapping in the object.
HRESULT IHTMLTextAreaElement::get_wrap(BSTR *p);HRESULT IHTMLTextAreaElement::put_wrap(BSTR v);
- Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
- BSTR that specifies one of the values listed in Possible Values.
soft Default. Text is displayed with wordwrapping and submitted without carriage returns and line feeds. hard Text is displayed with wordwrapping and submitted with soft returns and line feeds. off Wordwrapping is disabled. The lines appear exactly as the user types them.
Returns S_OK if successful, or an error value otherwise.
To detect the difference between
hardyou must submit the content within the textArea to an HTTP server.