IHTMLMarqueeElement::direction Property

Sets or retrieves the direction in which the text should scroll.

Syntax


HRESULT IHTMLMarqueeElement::get_direction(BSTR *p);HRESULT IHTMLMarqueeElement::put_direction(BSTR v);

Parameters

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

Possible Values

left Default. Marquee scrolls left.
right Marquee scrolls right.
down Marquee scrolls down.
up Marquee scrolls up.

Return Value

Returns S_OK if successful, or an error value otherwise.

Show: