IHTMLOListElement

IHTMLOListElement


The interface draws lines of text as an ordered list.

This element is a block element.

IHTMLOListElement Methods
put_compact   get_compact   put_start  
get_start   put_type   get_type  

IHTMLOListElement::put_compact

HRESULT put_compact( 
    VARIANT_BOOL v 
);

Specifies that the list should be compacted to remove extra space between list elements.

v
Boolean value specifying whether to compact the list of elements. If set to TRUE, the list is compacted; if set to FALSE, it's not.

The default value for this property is FALSE.

See also get_compact

IHTMLOListElement::get_compact

HRESULT get_compact(
    VARIANT_BOOL *p 
);

Determines if the list should be compacted to remove extra space between list elements.

p
Address of a Boolean value specifying whether to compact the list of elements. If set to TRUE, the list is compacted; if set to FALSE, it' not.

The default value for this property is FALSE.

See also put_compact

IHTMLOListElement::put_start

HRESULT put_start( 
    long v 
);

Sets the starting number for a list.

v
Long integer value specifying the starting point of the list.

See also get_start

IHTMLOListElement::get_start

HRESULT get_start(
    long *p 
);

Retrieves the starting number for a list.

p
Address of long integer value specifying the starting point of the list.

See also put_start

IHTMLOListElement::put_type

HRESULT put_type(
     BSTR v 
);

Changes the style of the list.

v
String specifying the style. Can be one of these values:
1 Use numbers. This is the default value.
a Use small letters.
A Use large letters.
i Use small roman numerals.
I Use large roman numerals.

See also get_type

IHTMLOListElement::get_type

HRESULT get_type(
    BSTR *p 
);

Retrieves the current style of the list.

p
Address of a variable that receives one of these style values:
1 Use numbers. This is the default value.
a Use small letters.
A Use large letters.
i Use small roman numerals.
I Use large roman numerals.

See also put_type

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.