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

IPrintSchemaFeature::put_SelectedOption method

[This documentation is preliminary and is subject to change.]

Changes the selected option of the Print Schema Feature element to the specified IPrintSchemaOption element.

Syntax

HRESULT put_SelectedOption(
  [in]  IPrintSchemaOption *pOption
);

Parameters

pOption [in]

The option to update.

Return value

This method returns an HRESULT value.

Remarks

Be aware of the fact that the IPrintSchemaTicket::GetCapabilities method retrieves a new PrintCapabilities document, which it also caches every time it is invoked. This means that if you use IPrintSchemaTicket::put_JobCopiesAllDocuments or IPrintSchemaFeature::put_SelectedOption on PrintTicket, the cached PrintCapabilities document gets corrupted or modified and the cache will be purged.

Requirements

Version

Windows 8

Header

Printerextension.h

See also

IPrintSchemaFeature
IPrintSchemaOption
IPrintSchemaTicket::GetCapabilities
IPrintSchemaTicket::put_JobCopiesAllDocuments

 

 

Send comments about this topic to Microsoft

Build date: 4/17/2012

Show:
© 2017 Microsoft