IPrintJob::get_TotalPages method (printerextension.h)

Gets the total number of pages that the document contains.

This property is read-only.

Syntax

HRESULT get_TotalPages(
  ULONG *pulPages
);

Parameters

pulPages

Defines the ULONG parameter pulPages.

Return value

Returns an HRESULT value.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Target Platform Windows
Header printerextension.h

See also

IPrintJob