IHTMLUListElement

IHTMLUListElement


This interface draws lines of text as a bulleted list.

This element is a block element.

IHTMLUListElement Methods
put_compact   get_compact  
put_type   get_type  

IHTMLUListElement::get_compact

HRESULT get_compact(
    VARIANT_BOOL *p 
);

Determines whether the list is to be compacted to remove extra space between list elements.

p
Address of a variable that receives TRUE if the list is being compacted, or FALSE otherwise. The default value for this property is FALSE.

See also put_compact

IHTMLUListElement::get_type

HRESULT get_type(
    BSTR *p 
);

Retrieves the current style of the list.

p
Address of a string variable that receives the style. Can be one of these strings:
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

IHTMLUListElement::put_compact

HRESULT put_compact(
    VARIANT_BOOL v 
);

Specifies whether to compact the list to remove extra space between list elements.

v
Compact flag. Set this parameter to TRUE to compact the list, or FALSE otherwise. The default value for this property is FALSE.

See also get_compact

IHTMLUListElement::put_type

HRESULT put_type(
    BSTR v 
);

Changes the style of the list.

v
String specifying the list style. Can be one of these strings:
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

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