Retrieves the left margin, in pixels, for the entire body of the page and overrides the default margin.
Syntax
HRESULT get_leftMargin( VARIANT *p );
Parameters
- p
- Address of a VARIANT structure that receives the left margin. For details, see the leftMargin property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
get_bottomMargin, get_rightMargin, get_topMargin
Sets the left margin, in pixels, for the entire body of the page and overrides the default margin.
Syntax
HRESULT put_leftMargin( VARIANT v );
Parameters
- v
- VARIANT structure that contains a string or value that specifies the left margin to set. For details, see the leftMargin property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
put_bottomMargin, put_rightMargin, put_topMargin