Contents Index Topic Contents | ||
Previous Topic: IHTMLTextAreaElement::get_value Next Topic: IHTMLTextAreaElement::put_cols |
IHTMLTextAreaElement::get_wrap
HRESULT get_wrap( BSTR *p );Retrieves how word-wrapping is handled in the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a string variable that receives one of these strings:
off Word-wrapping is disabled. The lines appear exactly as the user types them. This is the default value for this property. physical The text is displayed and submitted word-wrapped. virtual The text is displayed word-wrapped but is submitted as typed. See also put_wrap
IHTMLTextAreaElement::put_wrap
HRESULT put_wrap( BSTR v );Specifies how to handle word-wrapping in the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying one of these values:
off Word-wrapping is disabled. The lines appear exactly as the user types them. This is the default value for this property. physical The text is displayed and submitted word-wrapped. virtual The text is displayed word-wrapped but is submitted as typed. See also get_wrap
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.