Class ScoredProperty
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
The class that implements a common PrintTicket ScoredProperty
.
The base class for all schema-defined scored properties.
A ScoredProperty
element declares a property that is intrinsic to an
Aspose.Page.XPS.XpsMetadata.Option definition. Such properties should be compared when evaluating
how closely a requested Aspose.Page.XPS.XpsMetadata.Option matches a device-supported Aspose.Page.XPS.XpsMetadata.Option.
https://docs.microsoft.com/en-us/windows/win32/printdocs/scoredproperty
public class ScoredProperty : CompositePrintTicketElement, IOptionItem, IScoredPropertyItem, IPrintTicketElementChild
Inheritance
object ← PrintTicketElement ← CompositePrintTicketElement ← ScoredProperty
Derived
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
Implements
IOptionItem, IScoredPropertyItem, 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
ScoredProperty(string, ParameterRef)
Creates a new instance.
public ScoredProperty(string name, ParameterRef parameterRef)
Parameters
name
string
A property name.
parameterRef
ParameterRef
A Aspose.Page.XPS.XpsMetadata.ParameterRef instance.
ScoredProperty(string, Value, params IScoredPropertyItem[])
Creates a new instance.
public ScoredProperty(string name, Value value, params IScoredPropertyItem[] items)
Parameters
name
string
A property name.
value
Value
A property value.
items
IScoredPropertyItem[]
An arbitrary array of Aspose.Page.XPS.XpsMetadata.IScoredPropertyItem instances. Each one must be a Aspose.Page.XPS.XpsMetadata.ScoredProperty, a Aspose.Page.XPS.XpsMetadata.Property or a Aspose.Page.XPS.XpsMetadata.Value instance.