Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_listStyleType Next Topic: IHTMLRuleStyle::put_listStylePosition |
IHTMLRuleStyle::get_listStyleType
HRESULT get_listStyleType( BSTR *p );Retrieves the value of the CSS list-style-type attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the value of the attribute, which can be one of these strings:
disk circle square decimal lower-roman upper-roman lower-alpha upper-alpha none - The variable receives NULL if the attribute is not set. See list-style-type for details.
The list-style-type attribute is applicable only on elements that have the display attribute set to "list-item".
See also put_listStyleType
IHTMLRuleStyle::put_listStyleType
HRESULT put_listStyleType( BSTR v );Sets the value of the CSS list-style-type attribute for the element. The attribute determines the appearance of the list-item marker if the list-style-image is set to "none" or if the image pointed to by the URL cannot be displayed.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the value of the attribute. Can be one of these strings:
disk circle square decimal lower-roman upper-roman lower-alpha upper-alpha none - Set this parameter to NULL to remove the attribute. See list-style-type for details.
The list-style-type attribute is applicable only on elements that have the display attribute set to "list-item".
See also get_listStyleType
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.