Share via


marginTop property

Gets or sets the top margin of the document to be printed.

Syntax

HRESULT value = object.put_marginTop(long v);HRESULT value = object.get_marginTop(long* p);

Property values

Type: long

A pointer to a long value that receives the top margin of the document to be printed, in 1/100ths of an inch.

Remarks

This property is always measured in 1/100ths of an inch, even if the user has changed the "Measurement system" option in the Regional and Language Options Control Panel item to "Metric."

See also

Reference

ITemplatePrinter::marginBottom

ITemplatePrinter::marginLeft

ITemplatePrinter::marginRight