Share via


unprintableTop property

Gets the size of the top unprintable margin for the current printer.

Syntax

HRESULT value = object.get_unprintableTop(long* p);

Property values

Type: long

Pointer to a long value that receives the height of the unprintable area at the top edge of the page, in 1/100ths of an inch. No characters or images will appear in this area.

Remarks

A print template uses the ITemplatePrinter::unprintableBottom, ITemplatePrinter::unprintableLeft, ITemplatePrinter::unprintableRight, and ITemplatePrinter::unprintableTop properties to determine the unprintable area along the edges of a page; content placed in this area cannot be printed by the current printer. A print template should avoid placing content in this area.

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::unprintableBottom

ITemplatePrinter::unprintableLeft

ITemplatePrinter::unprintableRight