Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_listStyleImage Next Topic: IHTMLRuleStyle::put_listStyle |
IHTMLRuleStyle::get_listStyleImage
HRESULT get_listStyleImage( BSTR *p );Retrieves the value of the CSS list-style-image 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 either "none" or the URL of an image used as the list-item marker. The variable receives NULL if the attribute is not set. See list-style-image for details.
The list-style-image attribute is applicable only on elements that have the display attribute set to "list-item".
See also put_listStyleImage
IHTMLRuleStyle::put_listStyleImage
HRESULT put_listStyleImage( BSTR v );Sets the value of the CSS list-style-image attribute for the element. The attribute sets the image to use as the list-item marker. When the image is available, it replaces the marker.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the value of the attribute. Can be either "none" or the URL of an image. Set this parameter to NULL to remove the attribute. See list-style-image for details.
The list-style-image attribute is applicable only on elements that have the display attribute set to "list-item".
See also get_listStyleImage
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.