IHTMLBodyElement::bottomMargin Property
Sets or gets the bottom margin of the entire body of the document.
Syntax
HRESULT IHTMLBodyElement::get_bottomMargin(VARIANT *p); HRESULT IHTMLBodyElement::put_bottomMargin(VARIANT v);
Parameters
- p
Pointer to a variable of type VARIANT of type VT_BSTR that receives the number of pixels for the bottom margin.- v
VARIANT of type VT_BSTR that specifies the number of pixels for the bottom margin.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
If the value is set to "", the bottom margin is set exactly on the bottom edge. The specified value overrides the default margin.
By default, when you set the value of this property, the opposite margin is set to the same value.