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