共用方式為


unprintableRight property

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

Syntax

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

Property values

Type: long

Pointer to a long value that receives the width of the unprintable area at the right 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::unprintableTop