Share via


IPrintDocumentPageSource::MakeDocument method

Informs the app to create the document.

Syntax

HRESULT MakeDocument(
  [in]  IInspectable *printTaskOptions,
  [in]  IPrintDocumentPackageTarget *docPackageTarget
);

Parameters

  • printTaskOptions [in]
    The print options.

  • docPackageTarget [in]
    The packaged target types.

Return value

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

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