共用方式為


pageWidth property

Gets the current width of a page on the printer.

Syntax

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

Property values

Type: long

Pointer to a long value that receives the current width of a page on the printer, in 1/100ths of an inch.

See also

ITemplatePrinter::pageHeight