Windows apps
Collapse the table of content
Expand the table of content

IPrintDocumentPageSource::GetPreviewPageCollection method

Requests that the document source creates a preview page collection for the document being printed.

Syntax


HRESULT GetPreviewPageCollection(
  [in]   IPrintDocumentPackageTarget *docPackageTarget,
  [out]  IPrintPreviewDxgiPackageTarget **docPageCollection
);

Parameters

docPackageTarget [in]

A pointer to the package target.

docPageCollection [out]

A pointer to the destination for the preview images.

Return value

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

Remarks

For details on how to extract and use GetPreviewPageCollection, see IPrintPreviewDxgiPackageTarget.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

IDL

DocumentSource.idl

See also

IPrintDocumentPageSource

 

 

Send comments about this topic to Microsoft

Build date: 10/12/2013

Community Additions

Show:
© 2017 Microsoft