Class Feature

Feature class

The class that incapsulates a common Print Schema feature. The base class for all schema-defined features. A

Feature

element contains a complete list of the Option and Property elements that fully describe a device attribute, job formatting setting, or other relevant characteristic. https://docs.microsoft.com/en-us/windows/win32/printdocs/feature

public class Feature : CompositePrintTicketElement, IFeatureItem, IPrintTicketItem

Constructors

NameDescription
Feature(string, Feature, params IFeatureItem[])Creates a new PrintTicket feature instance.
Feature(string, Option, params IFeatureItem[])Creates a new PrintTicket feature instance.

Properties

NameDescription
Name { get; }Gets the element name.

Methods

NameDescription
Add(params IFeatureItem[])Adds a list of items to the end of this feature’s item list. Each one must be a Feature, an Option, or a Property instance.

See Also