Class ScoredProperty
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
Lớp thực hiện một ScoredProperty
PrintTicket chung.
Lớp cơ sở cho tất cả các thuộc tính được định nghĩa trong schema.
Một phần tử ScoredProperty
khai báo một thuộc tính vốn có trong định nghĩa
Aspose.Page.XPS.XpsMetadata.Option. Các thuộc tính như vậy nên được so sánh khi đánh giá
mức độ khớp của một Aspose.Page.XPS.XpsMetadata.Option được yêu cầu với một Aspose.Page.XPS.XpsMetadata.Option được hỗ trợ bởi thiết bị.
https://docs.microsoft.com/en-us/windows/win32/printdocs/scoredproperty
public class ScoredProperty : CompositePrintTicketElement, IOptionItem, IScoredPropertyItem, IPrintTicketElementChild
Kế thừa
object ←
PrintTicketElement ←
CompositePrintTicketElement ←
ScoredProperty
Kế thừa
PageMediaType.BackCoating,
InputBin.BinType,
OutputBin.BinType,
JobBindAllDocuments.BindingGutter,
DocumentBinding.BindingGutter,
Duplex.DuplexMode,
InputBin.FeedType,
PageMediaType.FrontCoating,
PageMediaType.Material,
InputBin.MediaCapacity,
InputBin.MediaPath,
InputBin.MediaSheetCapacity,
OutputBin.MediaSheetCapacity,
InputBin.MediaSizeAutoSense,
InputBin.MediaTypeAutoSense,
PageMediaType.PrePrinted,
PageMediaType.PrePunched,
PageResolution.QualitativeResolution,
PageMediaType.Recycled
Triển khai
IOptionItem,
IScoredPropertyItem,
IPrintTicketElementChild
Thành viên kế thừa
PrintTicketElement.Name,
object.GetType(),
object.MemberwiseClone(),
object.ToString(),
object.Equals(object?),
object.Equals(object?, object?),
object.ReferenceEquals(object?, object?),
object.GetHashCode()
Các hàm khởi tạo
ScoredProperty(string, ParameterRef)
Tạo một thể hiện mới.
public ScoredProperty(string name, ParameterRef parameterRef)
Tham số
name
string
Tên thuộc tính.
parameterRef
ParameterRef
Một thể hiện Aspose.Page.XPS.XpsMetadata.ParameterRef.
ScoredProperty(string, Value, params IScoredPropertyItem[])
Tạo một thể hiện mới.
public ScoredProperty(string name, Value value, params IScoredPropertyItem[] items)
Tham số
name
string
Tên thuộc tính.
value
Value
Giá trị thuộc tính.
items
IScoredPropertyItem[]
Một mảng tùy ý các thể hiện Aspose.Page.XPS.XpsMetadata.IScoredPropertyItem.
Mỗi thể hiện phải là một Aspose.Page.XPS.XpsMetadata.ScoredProperty, một Aspose.Page.XPS.XpsMetadata.Property hoặc một Aspose.Page.XPS.XpsMetadata.Value.