IPrintSchemaOption interface (printerextension.h)
Exposes a Print Schema Option object.
Inheritance
The IPrintSchemaOption interface inherits from IPrintSchemaDisplayableElement.
Methods
The IPrintSchemaOption interface has these methods.
IPrintSchemaOption::get_Constrained Gets the constraint setting type for the schema option. |
IPrintSchemaOption::get_Selected Indicates whether this option is selected. |
IPrintSchemaOption::GetPropertyValue Gets the XML node for the value child element of a Property or a ScoredProperty element with the given name. |
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | printerextension.h |
See also
IPrintSchemaDisplayableElement
IPrintSchemaFeature::GetOption