topMargin property

[This documentation is preliminary and is subject to change.]

Sets or gets the margin for the top of the document.

Syntax

HRESULT value = object.put_topMargin(VARIANT v);HRESULT value = object.get_topMargin(VARIANT* p);

Property values

Type: VARIANT

the top margin of the body, in pixels.

15

Value Condition

 

Remarks

If the value is set to "0" or "", the top margin is on the top edge of the window or frame.

By default, when you set the value of this property, the opposite margin is set to the same value.

 

 

Build date: 6/12/2012