Class Option
Tên không gian: Aspose.Page.XPS.XpsMetadata Tổng hợp: Aspose.Page.dll (25.5.0)
Các lớp học thực hiện một PrintTicket chung Option.Lớp cơ sở cho tất cả các tùy chọn được xác định theo lịch trình.Một mục tùy chọn chứa tất cả Aspose.Page.XPS.XpsMetadata.Property vàAspose.Page.XPS.XpsMetadata.ScoredProperty các yếu tố liên quan đến tùy chọn này.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
Thành viên thừa kế
PrintTicketElement.Name , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Option(Thẻ, Params IOptionItem[])
Tạo một tùy chọn PrintTicket mới.
public Option(string name, params IOptionItem[] items)Parameters
name string
Một lựa chọn tự nguyện tên.
items IOptionItem
[ ]
Một loạt tùy ý của Aspose.Page.XPS.XpsMetadata.IOptionItem ví dụ.Mỗi người phải là một Aspose.Page.XPS.XpsMetadata.ScoredProperty hoặc một Aspose.Page.XPS.XpsMetadata.Property ví dụ.
Option(Ưu điểm IOptionItem[])
Tạo một tùy chọn PrintTicket mới.
public Option(params IOptionItem[] items)Parameters
items IOptionItem
[ ]
Một loạt tùy ý của Aspose.Page.XPS.XpsMetadata.IOptionItem ví dụ.Mỗi người phải là một Aspose.Page.XPS.XpsMetadata.ScoredProperty hoặc một Aspose.Page.XPS.XpsMetadata.Property ví dụ.
Option(Option)
Tạo một tùy chọn clone.
public Option(Option option)Parameters
option Option
Một lựa chọn để clone.
Methods
Add(Ưu điểm IOptionItem[])
Thêm một danh sách các mục vào cuối danh sách các mục của tùy chọn này.Mỗi người phải là một Aspose.Page.XPS.XpsMetadata.ScoredProperty hoặc Aspose.Page.XPS.XpsMetadata.Property ví dụ.
public void Add(params IOptionItem[] items)Parameters
items IOptionItem
[ ]
Danh sách các mục để thêm.
MakeConst()
Làm cho trường hợp này liên tục, tức là bất kỳ cuộc gọi nào đến phương pháp Add() sẽ ném một ngoại lệ.
protected Option MakeConst()Returns
tùy chọn này.