Compartilhar via


IPrintPreviewDxgiPackageTarget::SetJobPageCount method

Updates the total number of pages in the print preview.

Syntax

HRESULT SetJobPageCount(
  [in]  PageCountType countType,
  UINT32 count
);

Parameters

  • countType [in]
    Specifies whether this is the final page count or an intermediate page count.

  • count
    The number of pages in the job.

Return value

If the SetJobPageCount method completes successfully, it returns an S_OK. Otherwise it returns the appropriate HRESULT error code.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Header

PrintPreview.h

See also

IPrintPreviewDxgiPackageTarget

PageCountType

 

 

Send comments about this topic to Microsoft

Build date: 10/12/2013