Share via


IHTMLMarqueeElement interface

This interface is used to specify a marquee element.

Members

The IHTMLMarqueeElement interface inherits from the IDispatch interface. IHTMLMarqueeElement also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLMarqueeElement interface has these methods.

Method Description
start

Starts scrolling the marquee.

stop

Stops the marquee from scrolling.

 

Properties

The IHTMLMarqueeElement interface has these properties.

Property Description

behavior

Sets or retrieves how the text scrolls in the marquee.

bgColor

Deprecated. Sets or retrieves the background color behind the object.

direction

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

height

Sets or retrieves the height of the object.

hspace

Sets or retrieves the horizontal margin for the object.

loop

Sets or retrieves the number of times a marquee will play.

scrollAmount

Sets or retrieves the number of pixels the text scrolls between each subsequent drawing of the marquee.

scrollDelay

Sets or retrieves the speed of the marquee scroll.

trueSpeed

Sets or retrieves whether the position of the marquee is calculated using the IHTMLMarqueeElement::scrollDelay and IHTMLMarqueeElement::scrollAmount properties and the actual time elapsed from the last clock tick.

vspace

Sets or retrieves the vertical margin for the object.

width

Sets or retrieves the width of the object.

 

Remarks

The marquee element enables you to create a scrolling text marquee and control its content.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch