Expand Minimize

IPrintSchemaFeature interface

Exposes a Print Schema Feature element.

Members

The IPrintSchemaFeature interface inherits from IPrintSchemaDisplayableElement. IPrintSchemaFeature also has these types of members:

Methods

The IPrintSchemaFeature interface has these methods.

MethodDescription
GetOption

Gets the option with the given name.

 

Properties

The IPrintSchemaFeature interface has these properties.

PropertyAccess typeDescription

DisplayUI

Read-only

Gets the setting that indicates whether or not to show the print UI.

SelectedOption

Read-only

Gets an IPrintSchemaOption representing the selected option.

SelectedOption

Write-only

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

SelectionType

Read-only

Gets the selection type of the Feature.

 

Remarks

You must ensure that each Feature or Option in a PrintTicket or PrintCapabilities XML document has a name attribute specified. This attribute is used to build the IPrintSchemaOption and IPrintSchemaFeature objects. If the name attribute is omitted, the feature or option will not be displayed in the object model, or the Microsoft-provided print preferences experience.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Printerextension.h

See also

IPrintSchemaCapabilities::GetFeature
IPrintSchemaTicket::GetFeature
IPrintSchemaTicket::GetFeatureByKeyName

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft