Class Feature
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
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 Aspose.Page.XPS.XpsMetadata.Option and Aspose.Page.XPS.XpsMetadata.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, IPrintTicketItem, IFeatureItem, IPrintTicketElementChild
Inheritance
object ← PrintTicketElement ← CompositePrintTicketElement ← Feature
Derived
Collate, DocumentBannerSheet, DocumentBinding, DocumentCoverBack, DocumentCoverFront, DocumentSeparatorSheet, Duplex, JobErrorSheet.ErrorSheetWhen, HolePunch, InputBin, JobAccountingSheet, JobBindAllDocuments, JobDeviceLanguage, JobDigitalSignatureProcessing, JobErrorSheet, JobOutputOptimization, JobPageOrder, JobPrimaryBannerSheet, JobPrimaryCoverBack, JobPrimaryCoverFront, PageWatermark.Layering, NUp, OutputBin, PageBlackGenerationProcessing, PageBlendColorSpace, PageBorderless, PageColorManagement, PageDestinationColorProfile, PageDeviceColorSpaceUsage, PageDeviceFontSubstitution, PageForceFrontSide, PageICMRenderingIntent, PageMediaColor, PageMediaSize, PageMediaType, PageMirrorImage, PageNegativeImage, PageOrientation, PageOutputColor, PageOutputQuality, PagePhotoPrintingIntent, PagePoster, PageResolution, PageScaling, PageSourceColorProfile, PageTrueTypeFontMode, PageWatermark, NUp.PresentationDirection, RollCut, PageScaling.ScaleOffsetAlignment, Staple
Implements
IPrintTicketItem, IFeatureItem, IPrintTicketElementChild
Inherited Members
PrintTicketElement.Name, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Feature(string, Option, params IFeatureItem[])
Creates a new PrintTicket feature instance.
public Feature(string name, Option option, params IFeatureItem[] items)
Parameters
name
string
A feature name.
option
Option
Required Aspose.Page.XPS.XpsMetadata.Option instance.
items
IFeatureItem[]
An arbitrary array of Aspose.Page.XPS.XpsMetadata.IFeatureItem instances. Each one must be a Aspose.Page.XPS.XpsMetadata.Feature, an Aspose.Page.XPS.XpsMetadata.Option, or a Aspose.Page.XPS.XpsMetadata.Property instance.
Feature(string, Feature, params IFeatureItem[])
Creates a new PrintTicket feature instance.
public Feature(string name, Feature feature, params IFeatureItem[] items)
Parameters
name
string
A feature name.
feature
Feature
Required Aspose.Page.XPS.XpsMetadata.Feature instance.
items
IFeatureItem[]
An arbitrary array of Aspose.Page.XPS.XpsMetadata.IFeatureItem instances. Each one must be a Aspose.Page.XPS.XpsMetadata.Feature, an Aspose.Page.XPS.XpsMetadata.Option, or a Aspose.Page.XPS.XpsMetadata.Property instance.
Methods
Add(params IFeatureItem[])
Adds a list of items to the end of this feature’s item list. Each one must be a Aspose.Page.XPS.XpsMetadata.Feature, an Aspose.Page.XPS.XpsMetadata.Option, or a Aspose.Page.XPS.XpsMetadata.Property instance.
public void Add(params IFeatureItem[] items)
Parameters
items
IFeatureItem[]
List of items to add.