Contents Index Topic Contents | ||
Previous Topic: IHTMLDocument2::put_bgColor Next Topic: IHTMLDocument2::put_fgColor |
IHTMLDocument2::get_bgColor
HRESULT get_bgColor( VARIANT *p );Retrieves the background color of the page.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a VARIANT structure that receives the color. The color can be one of the color names or values given in the Color Table reference documentation.
See also put_bgColor
IHTMLDocument2::put_bgColor
HRESULT put_bgColor( VARIANT v );Sets the background color of the page.
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure containing a string or value specifying the color. The color can be one of the color names or values given in the Color Table reference documentation.
See also get_bgColor
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.