Contents Index Topic Contents | ||
Previous Topic: IHTMLBodyElement::put_leftMargin Next Topic: IHTMLBodyElement::put_topMargin |
IHTMLBodyElement::get_leftMargin
HRESULT get_leftMargin( VARIANT *p );Retrieves the left margin for the entire body of the page. This property overrides the default margin.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a VARIANT structure that receives the left margin. This property receives "" if the margin is exactly on the left edge.
See also put_leftMargin
IHTMLBodyElement::put_leftMargin
HRESULT put_leftMargin( VARIANT v );Sets the left margin for the entire body of the page and overrides the default margin.
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure containing a string or value specifying the left margin. If set to "", the margin will be exactly on the left edge.
See also get_leftMargin
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.