IHTMLDivElement::noWrap Property

Sets or retrieves whether the browser automatically performs wordwrap.

Syntax

HRESULT IHTMLDivElement::get_noWrap(VARIANT_BOOL *p);
HRESULT IHTMLDivElement::put_noWrap(VARIANT_BOOL v);

Parameters

  • p
    Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.
  • v
    VARIANT_BOOL that specifies one of the values listed in Possible Values.

Possible Values

VARIANT_FALSE Default. Browser automatically wraps the text.
VARIANT_TRUE Browser does not wrap the text.

Return Value

Returns S_OK if successful, or an error value otherwise.