IPrintManagerTemplatePrinter::setPageCount method

Sets the total page count in the print dialog helper.

Syntax


HRESULT setPageCount(
  [inlong nPage
);

Parameters

nPage [in]

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

IDL

Mshtml.idl

See also

IPrintManagerTemplatePrinter

 

 

Show: