Class Option
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (26.2.0)
The class that implements a common PrintTicket Option.
The base class for all schema-defined options.
An Option element contains all of the Aspose.Page.XPS.XpsMetadata.Property and
Aspose.Page.XPS.XpsMetadata.ScoredProperty elements associated with this option.
https://docs.microsoft.com/en-us/windows/win32/printdocs/option
public class Option : CompositePrintTicketElement, IFeatureItem, IPrintTicketElementChildInheritance
object ← PrintTicketElement ← CompositePrintTicketElement ← Option
Derived
DocumentBannerSheet.BannerSheetOption , JobPrimaryBannerSheet.BannerSheetOption , JobBindAllDocuments.BindingOption , DocumentBinding.BindingOption , Collate.CollateOption , DocumentCoverBack.CoverBackOption , JobPrimaryCoverBack.CoverBackOption , DocumentCoverFront.CoverFrontOption , JobPrimaryCoverFront.CoverFrontOption , DocumentSeparatorSheet.DocumentSeparatorSheetOption , Duplex.DuplexOption , JobErrorSheet.ErrorSheetOption , JobErrorSheet.ErrorSheetWhen.ErrorSheetWhenOption , HolePunch.HolePunchOption , InputBin.InputBinOption , JobAccountingSheet.JobAccountingSheetOption , JobDeviceLanguage.JobDeviceLanguageOption , JobDigitalSignatureProcessing.JobDigitalSignatureProcessingOption , JobOutputOptimization.JobOutputOptimizationOption , JobPageOrder.JobPageOrderOption , PageWatermark.LayeringOption , OutputBin.OutputBinOption , PageBlackGenerationProcessing.PageBlackGenerationProcessingOption , PageBlendColorSpace.PageBlendColorSpaceOption , PageBorderless.PageBorderlessOption , PageColorManagement.PageColorManagementOption , PageDestinationColorProfile.PageDestinationColorProfileOption , PageDeviceColorSpaceUsage.PageDeviceColorSpaceUsageOption , PageDeviceFontSubstitution.PageDeviceFontSubstitutionOption , PageForceFrontSide.PageForceFrontSideOption , PageICMRenderingIntent.PageICMRenderingIntentOption , PageMediaColor.PageMediaColorOption , PageMediaSize.PageMediaSizeOption , PageMediaType.PageMediaTypeOption , PageMirrorImage.PageMirrorImageOption , PageNegativeImage.PageNegativeImageOption , PageOrientation.PageOrientationOption , PageOutputColor.PageOutputColorOption , PageOutputQuality.PageOutputQualityOption , PagePhotoPrintingIntent.PagePhotoPrintingIntentOption , PageResolution.PageResolutionOption , PageScaling.PageScalingOption , PageSourceColorProfile.PageSourceColorProfileOption , PageTrueTypeFontMode.PageTrueTypeFontModeOption , PageWatermark.PageWatermarkOption , NUp.PresentationDirection.PresentationDirectionOption , RollCut.RollCutOption , PageScaling.ScaleOffsetAlignmentOption , Staple.StapleOption
Implements
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
Option(string, params IOptionItem[])
Creates a new PrintTicket option instance.
public Option(string name, params IOptionItem[] items)Parameters
name string
An arbitrary option name.
items IOptionItem
[]
An arbitrary array of Aspose.Page.XPS.XpsMetadata.IOptionItem instances. Each one must be a Aspose.Page.XPS.XpsMetadata.ScoredProperty or a Aspose.Page.XPS.XpsMetadata.Property instance.
Option(params IOptionItem[])
Creates a new PrintTicket option instance.
public Option(params IOptionItem[] items)Parameters
items IOptionItem
[]
An arbitrary array of Aspose.Page.XPS.XpsMetadata.IOptionItem instances. Each one must be a Aspose.Page.XPS.XpsMetadata.ScoredProperty or a Aspose.Page.XPS.XpsMetadata.Property instance.
Option(Option)
Creates a clone option instance.
public Option(Option option)Parameters
option Option
An option instance to clone.
Methods
Add(params IOptionItem[])
Adds a list of items to the end of this option’s item list. Each one must be a Aspose.Page.XPS.XpsMetadata.ScoredProperty or Aspose.Page.XPS.XpsMetadata.Property instance.
public void Add(params IOptionItem[] items)Parameters
items IOptionItem
[]
List of items to add.
MakeConst()
Makes this instance constant, i.e. any call to the Add() method will throw an exception.
protected Option MakeConst()Returns
This option.